mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
851 B
52 lines
851 B
6 years ago
|
# -- DEV DOCKER-COMPOSE --
|
||
|
# -- DO NOT USE IN PRODUCTION! --
|
||
|
|
||
|
version: "3"
|
||
|
services:
|
||
|
|
||
|
redis:
|
||
|
image: redis:4-alpine
|
||
|
ports:
|
||
|
- "16379:6379"
|
||
|
logging:
|
||
|
driver: "none"
|
||
|
networks:
|
||
|
- wikinet
|
||
|
|
||
|
db:
|
||
6 years ago
|
image: mcr.microsoft.com/mssql/server:2017-latest
|
||
6 years ago
|
environment:
|
||
6 years ago
|
ACCEPT_EULA: 'Y'
|
||
|
MSSQL_PID: Developer
|
||
|
SA_PASSWORD: W1kiJSR0cks!
|
||
6 years ago
|
logging:
|
||
|
driver: "none"
|
||
|
volumes:
|
||
6 years ago
|
- db-data:/var/opt/mssql
|
||
6 years ago
|
networks:
|
||
|
- wikinet
|
||
|
ports:
|
||
6 years ago
|
- "11433:1433"
|
||
6 years ago
|
|
||
|
wiki:
|
||
|
build:
|
||
|
context: .
|
||
6 years ago
|
dockerfile: dev/docker-mssql/Dockerfile
|
||
6 years ago
|
depends_on:
|
||
|
- db
|
||
|
- redis
|
||
|
networks:
|
||
|
- wikinet
|
||
|
ports:
|
||
|
- "3000:3000"
|
||
|
volumes:
|
||
6 years ago
|
- .:/wiki
|
||
|
- /wiki/node_modules
|
||
6 years ago
|
command: ["sh", "./dev/docker-mssql/init.sh"]
|
||
6 years ago
|
|
||
|
networks:
|
||
|
wikinet:
|
||
|
|
||
|
volumes:
|
||
|
db-data:
|