36 lines
542 B
YAML
36 lines
542 B
YAML
# -- DEV DOCKER-COMPOSE --
|
|
# -- DO NOT USE IN PRODUCTION! --
|
|
|
|
version: "3"
|
|
services:
|
|
|
|
redis:
|
|
image: redis:4-alpine
|
|
ports:
|
|
- "16379:6379"
|
|
logging:
|
|
driver: "none"
|
|
networks:
|
|
- wikinet
|
|
|
|
wiki:
|
|
build:
|
|
context: .
|
|
dockerfile: dev/docker-sqlite/Dockerfile
|
|
depends_on:
|
|
- redis
|
|
networks:
|
|
- wikinet
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- .:/wiki
|
|
- /wiki/node_modules
|
|
command: ["sh", "./dev/docker-sqlite/init.sh"]
|
|
|
|
networks:
|
|
wikinet:
|
|
|
|
volumes:
|
|
db-data:
|