forked from dbroqua/MusicTopus
Co-authored-by: dbroqua <contact@darkou.fr> Reviewed-on: https://git.darkou.fr/dbroqua/MusicTopus/pulls/24 Co-authored-by: Damien Broqua <dbroqua@noreply.localhost> Co-committed-by: Damien Broqua <dbroqua@noreply.localhost>
This commit is contained in:
parent
7f526eefee
commit
cf63d8b6d8
28 changed files with 687 additions and 104 deletions
|
@ -1,8 +1,8 @@
|
|||
version: "2.4"
|
||||
|
||||
services:
|
||||
mymusiclibrary-www:
|
||||
container_name: mymusiclibrary-www
|
||||
musictopus-www:
|
||||
container_name: musictopus-www
|
||||
image: "node:16"
|
||||
restart: always
|
||||
user: "node"
|
||||
|
@ -17,7 +17,7 @@ services:
|
|||
ports:
|
||||
- 3001:3001
|
||||
depends_on:
|
||||
- mymusiclibrary-db
|
||||
- musictopus-db
|
||||
environment:
|
||||
NODE_ENV: ${NODE_ENV}
|
||||
PORT: ${PORT}
|
||||
|
@ -26,18 +26,18 @@ services:
|
|||
DISCOGS_TOKEN: ${DISCOGS_TOKEN}
|
||||
FORMSPREE_ID: ${FORMSPREE_ID}
|
||||
networks:
|
||||
- mymusiclibrary
|
||||
mymusiclibrary-db:
|
||||
container_name: mymusiclibrary-db
|
||||
image: mongo:latest
|
||||
- musictopus
|
||||
musictopus-db:
|
||||
container_name: musictopus-db
|
||||
image: mongo:4.4
|
||||
restart: always
|
||||
ports:
|
||||
- 27617:27017
|
||||
networks:
|
||||
- mymusiclibrary
|
||||
- musictopus
|
||||
volumes:
|
||||
- ./dump:/dump
|
||||
|
||||
networks:
|
||||
mymusiclibrary:
|
||||
musictopus:
|
||||
driver: bridge
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue