-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
49 lines (42 loc) · 951 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# production environment. fit for selfhosting on a vps.
x-defaults: &defaults
# cap_drop:
# - ALL
restart: unless-stopped
env_file:
- .env
services:
ars0n-server:
<<: *defaults
build:
dockerfile: ./Docker/Dockerfile.server
depends_on:
- ars0n-mongodb
ports:
- '127.0.0.1:8000:8000'
ars0n-client:
<<: *defaults
build:
dockerfile: ./Docker/Dockerfile.client
ports:
- '3000:3000'
ars0n-toolkit:
<<: *defaults
build:
dockerfile: ./Docker/Dockerfile.toolkit
env_file:
- .env
ports:
- '127.0.0.1:5000:5000'
ars0n-mongodb:
<<: *defaults
image: mongo:latest
ports:
- '127.0.0.1:27017:27017'
volumes:
- mongodb_data:/data/db
- ./configs/Docker/mongod.conf:/etc/mongo/mongod.conf
- ./data/logs/mongodb:/logs/mongodb/
# command: ["mongod", "--config", "/etc/mongod.conf"]
volumes:
mongodb_data: