-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
97 lines (91 loc) · 2.6 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: "3.2"
services:
node_red:
container_name: node_red
image: nodered/node-red
restart: unless-stopped
environment:
- TZ=Asia/Calcutta
ports:
- 1880:1880
volumes:
- /opt/volumes/node-red/data:/data
# Stores images and other static files to serve.
- /opt/volumes/node-red/assets:/assets
networks:
- smarty
nginx:
container_name: nginx
image: nginx
restart: unless-stopped
ports:
- "80:80"
environment:
- NGINX_PORT=80
volumes:
- /opt/volumes/nginx/html:/usr/share/nginx/html
networks:
- smarty
mongo:
container_name: mongo
image: mongo
restart: unless-stopped
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGODB_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGODB_PASSWORD}
MONGO_INITDB_DATABASE: auth
volumes:
- /opt/volumes/mongo/db:/data/db
- /opt/volumes/mongo/backup:/backup
networks:
- smarty
mongo-express:
image: mongo-express:0.54.0
container_name: mongo-express
restart: unless-stopped
ports:
- 8081:8081
depends_on:
- mongo
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: ${MONGODB_USERNAME}
ME_CONFIG_MONGODB_ADMINPASSWORD: ${MONGODB_PASSWORD}
ME_CONFIG_BASICAUTH_USERNAME: ${MONGOEXPRESS_USERNAME}
ME_CONFIG_BASICAUTH_PASSWORD: ${MONGOEXPRESS_PASSWORD}
ME_CONFIG_MONGODB_SERVER: mongo
networks:
- smarty
portainer:
container_name: portainer
image: portainer/portainer-ce
command: -H unix:///var/run/docker.sock
restart: always
ports:
- 9000:9000
- 8000:8000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /opt/volumes/portainer/data:/data
privileged: true
networks:
- smarty
duplicati:
image: ghcr.io/linuxserver/duplicati
container_name: duplicati
environment:
- PUID=0
- PGID=0
- TZ=Asia/Calcutta
volumes:
- /opt/volumes/duplicati/config:/config
- /opt/duplicati_backups:/backups
- /opt/volumes:/source
ports:
- 8200:8200
restart: unless-stopped
networks:
- smarty
# Universal Network
networks:
smarty:
driver: bridge