2022-02-13 14:07:25 +01:00
|
|
|
version: "2.4"
|
|
|
|
|
|
|
|
services:
|
2022-03-02 16:50:25 +01:00
|
|
|
musictopus-www:
|
|
|
|
container_name: musictopus-www
|
2023-08-02 16:11:56 +02:00
|
|
|
image: "node:18"
|
2022-02-13 14:07:25 +01:00
|
|
|
restart: always
|
|
|
|
user: "node"
|
|
|
|
working_dir: /home/node/app
|
|
|
|
command: >
|
|
|
|
bash -c "
|
|
|
|
yarn install &&
|
2022-02-17 09:45:58 +01:00
|
|
|
yarn run:all"
|
2022-02-13 14:07:25 +01:00
|
|
|
volumes:
|
|
|
|
- ./:/home/node/app
|
|
|
|
- /home/node/node_modules
|
|
|
|
ports:
|
|
|
|
- 3001:3001
|
|
|
|
depends_on:
|
2022-03-02 16:50:25 +01:00
|
|
|
- musictopus-db
|
2022-02-13 14:07:25 +01:00
|
|
|
environment:
|
2022-02-15 11:03:20 +01:00
|
|
|
NODE_ENV: ${NODE_ENV}
|
2022-02-22 14:50:07 +01:00
|
|
|
PORT: ${PORT}
|
|
|
|
MONGODB_URI: ${MONGODB_URI}
|
|
|
|
SECRET: ${SECRET}
|
2022-02-15 11:03:20 +01:00
|
|
|
DISCOGS_TOKEN: ${DISCOGS_TOKEN}
|
2022-02-22 14:50:07 +01:00
|
|
|
FORMSPREE_ID: ${FORMSPREE_ID}
|
2022-03-06 15:00:24 +01:00
|
|
|
MATOMO_URL: ${MATOMO_URL}
|
2022-03-14 16:28:08 +01:00
|
|
|
MATOMO_ID: ${MATOMO_ID}
|
2022-03-06 15:11:42 +01:00
|
|
|
SITE_NAME: ${SITE_NAME}
|
2022-04-09 00:07:22 +02:00
|
|
|
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}
|
2022-04-10 17:27:26 +02:00
|
|
|
REGISTRATION_OPEN: ${REGISTRATION_OPEN}
|
2022-02-13 14:07:25 +01:00
|
|
|
networks:
|
2022-03-02 16:50:25 +01:00
|
|
|
- musictopus
|
|
|
|
musictopus-db:
|
|
|
|
container_name: musictopus-db
|
|
|
|
image: mongo:4.4
|
2022-02-13 14:07:25 +01:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 27617:27017
|
|
|
|
networks:
|
2022-03-02 16:50:25 +01:00
|
|
|
- musictopus
|
2022-02-18 22:44:03 +01:00
|
|
|
volumes:
|
|
|
|
- ./dump:/dump
|
2022-02-13 14:07:25 +01:00
|
|
|
|
|
|
|
networks:
|
2022-03-02 16:50:25 +01:00
|
|
|
musictopus:
|
2022-02-13 14:07:25 +01:00
|
|
|
driver: bridge
|