MusicTopus/docker-compose.yml

38 lines
713 B
YAML
Raw Normal View History

2022-02-13 14:07:25 +01:00
version: "2.4"
services:
nodecdtheque-www:
container_name: nodecdtheque-www
image: "node:16"
restart: always
user: "node"
working_dir: /home/node/app
command: >
bash -c "
yarn install &&
yarn watch"
volumes:
- ./:/home/node/app
- /home/node/node_modules
ports:
- 3001:3001
depends_on:
- nodecdtheque-db
environment:
2022-02-15 11:03:20 +01:00
NODE_ENV: ${NODE_ENV}
DISCOGS_TOKEN: ${DISCOGS_TOKEN}
2022-02-13 14:07:25 +01:00
networks:
- nodecdtheque
nodecdtheque-db:
container_name: nodecdtheque-db
image: mongo:latest
restart: always
ports:
- 27617:27017
networks:
- nodecdtheque
networks:
nodecdtheque:
driver: bridge