forked from oyd/Adunatio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
467 B
33 lines
467 B
version: "3"
|
|
|
|
services:
|
|
mongo:
|
|
image: mongo
|
|
env_file:
|
|
.env
|
|
volumes:
|
|
- mongo_data:/data/db/
|
|
|
|
mongo-express:
|
|
image: mongo-express
|
|
ports:
|
|
- 8081:8081
|
|
env_file:
|
|
.env
|
|
|
|
|
|
web:
|
|
build: .
|
|
ports:
|
|
- 5000:5000
|
|
env_file:
|
|
.env
|
|
volumes:
|
|
- .:/code
|
|
|
|
volumes:
|
|
mongo_data:
|
|
driver_opts:
|
|
device: /home/john/PycharmProjects/Adunatio/mongo_data_dir/
|
|
type: xfs
|
|
o: bind
|
|
|