Updated with volume
This commit is contained in:
parent
5de62e4f4a
commit
a0a4aade97
1
src/.gitignore
vendored
1
src/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
.env
|
.env
|
||||||
|
data/
|
||||||
|
@ -5,8 +5,12 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
build:
|
build:
|
||||||
context: backend/db
|
context: backend/db
|
||||||
|
ports:
|
||||||
|
- 27017:27017
|
||||||
|
volumes:
|
||||||
|
- './data/db:/data/db'
|
||||||
env_file:
|
env_file:
|
||||||
- .prod.env
|
- .env
|
||||||
|
|
||||||
server:
|
server:
|
||||||
restart: always
|
restart: always
|
||||||
@ -15,7 +19,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 12009:80
|
- 12009:80
|
||||||
env_file:
|
env_file:
|
||||||
- .prod.env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
MONGODB__Host: db
|
MONGODB__Host: db
|
||||||
MONGODB__Port: 27017
|
MONGODB__Port: 27017
|
||||||
|
Loading…
Reference in New Issue
Block a user