-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (56 loc) · 1.14 KB
/
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
50
51
52
53
54
55
56
57
version: "2"
services:
zover:
container_name: zover
restart: always
build: .
ports:
- "4200:4200"
depends_on:
- mongo
links:
- mongo
environment:
- ENVIRONMENT=prod
- HOST_URL=domain.com
- PORT=4200
- MONGO_URI=mongodb://mongo:27017/yourapp
- JWT_SECRET=averysecretsecret
- MAILGUN_API_KEY=amailgunapi
- EMAIL_DOMAIN=email.domain.com
- WAIT_HOSTS=mongo:27017
volumes:
- "./src:/usr/src/app/src"
logging:
driver: "json-file"
options:
max-size: "1k"
max-file: "3"
mongo:
container_name: mongo
image: mongo
volumes:
- /data/db
ports:
- "27017:27017"
logging:
driver: "json-file"
options:
max-size: "1k"
max-file: "3"
portainer:
image: portainer/portainer
command: -H unix:///var/run/docker.sock
restart: always
ports:
- 9000:9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
logging:
driver: "json-file"
options:
max-size: "1k"
max-file: "3"
volumes:
portainer_data: