dbroqua
1df39410c3
Reviewed-on: #85 Co-authored-by: dbroqua <contact@darkou.fr> Co-committed-by: dbroqua <contact@darkou.fr>
55 lines
1.3 KiB
Text
55 lines
1.3 KiB
Text
version: "2.4"
|
|
|
|
services:
|
|
musictopus-www:
|
|
container_name: musictopus-www
|
|
image: "node:18"
|
|
restart: always
|
|
user: "node"
|
|
working_dir: /home/node/app
|
|
command: >
|
|
bash -c "
|
|
yarn install &&
|
|
yarn run:all"
|
|
volumes:
|
|
- ./:/home/node/app
|
|
- /home/node/node_modules
|
|
ports:
|
|
- 3001:3001
|
|
depends_on:
|
|
- musictopus-db
|
|
environment:
|
|
NODE_ENV: ${NODE_ENV}
|
|
PORT: ${PORT}
|
|
MONGODB_URI: ${MONGODB_URI}
|
|
SECRET: ${SECRET}
|
|
DISCOGS_TOKEN: ${DISCOGS_TOKEN}
|
|
FORMSPREE_ID: ${FORMSPREE_ID}
|
|
MATOMO_URL: ${MATOMO_URL}
|
|
MATOMO_ID: ${MATOMO_ID}
|
|
SITE_NAME: ${SITE_NAME}
|
|
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
|
|
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
|
|
S3_BASEFOLDER: ${S3_BASEFOLDER}
|
|
S3_BUCKET: ${S3_BUCKET}
|
|
S3_ENDPOINT: ${S3_ENDPOINT}
|
|
S3_SIGNATURE: ${S3_SIGNATURE}
|
|
JOBS_HEADER_KEY: ${JOBS_HEADER_KEY}
|
|
JOBS_HEADER_VALUE: ${JOBS_HEADER_VALUE}
|
|
REGISTRATION_OPEN: ${REGISTRATION_OPEN}
|
|
networks:
|
|
- musictopus
|
|
musictopus-db:
|
|
container_name: musictopus-db
|
|
image: mongo:4.4
|
|
restart: always
|
|
ports:
|
|
- 27617:27017
|
|
networks:
|
|
- musictopus
|
|
volumes:
|
|
- ./dump:/dump
|
|
|
|
networks:
|
|
musictopus:
|
|
driver: bridge
|