wikijs-fork/dev/docker-mssql/docker-compose.yml

41 lines
704 B
YAML
Raw Normal View History

2018-08-28 04:23:05 +00:00
# -- DEV DOCKER-COMPOSE --
# -- DO NOT USE IN PRODUCTION! --
version: "3"
services:
db:
2019-02-10 00:10:34 +00:00
image: mcr.microsoft.com/mssql/server:2017-latest
2018-08-28 04:23:05 +00:00
environment:
2019-02-10 00:10:34 +00:00
ACCEPT_EULA: 'Y'
MSSQL_PID: Developer
SA_PASSWORD: W1kiJSR0cks!
2018-08-28 04:23:05 +00:00
logging:
driver: "none"
volumes:
2019-02-10 00:10:34 +00:00
- db-data:/var/opt/mssql
2018-08-28 04:23:05 +00:00
networks:
- wikinet
ports:
2019-02-10 00:10:34 +00:00
- "11433:1433"
2018-08-28 04:23:05 +00:00
wiki:
build:
context: .
2019-02-10 00:10:34 +00:00
dockerfile: dev/docker-mssql/Dockerfile
2018-08-28 04:23:05 +00:00
depends_on:
- db
networks:
- wikinet
ports:
- "3000:3000"
volumes:
- .:/wiki
- /wiki/node_modules
2019-02-10 00:10:34 +00:00
command: ["sh", "./dev/docker-mssql/init.sh"]
2018-08-28 04:23:05 +00:00
networks:
wikinet:
volumes:
db-data: