version: '3.7' services: mssql: image: mcr.microsoft.com/mssql/server:latest user: root volumes: - /data/mssql:/var/opt/mssql/data restart: always environment: ACCEPT_EULA: Y MSSQL_PID: Express SA_PASSWORD: 01factory ports: - 1433:1433 adminer: image: adminer:latest restart: always ports: - 8080:8080 links: - mssql:db
sudo docker-compose up -d
sudo docker-compose start
sudo docker-compose stop
sudo docker stop mssql adminer
{ "dbconfig": { "client": "mssql", "connection": "postgres://01factory:01factory@127.0.0.1:3306/01factory" } }