-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
49 lines (45 loc) · 1.14 KB
/
Copy pathcompose.yml
File metadata and controls
49 lines (45 loc) · 1.14 KB
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
### Project Name
name: nvr-server
### Docker Networks
networks:
internal: # Only for Docker Socket Access (Internal ONLY)
name: internal
driver: bridge
ipam:
config:
- subnet: ${IP_INTERNAL_BASE}0/24
driver_opts:
io.portainer.accesscontrol.teams: "API-Team"
private: # All Containers (for Traefik)
name: private
driver: bridge
ipam:
config:
- subnet: ${IP_PRIVATE_BASE}0/24
driver_opts:
io.portainer.accesscontrol.teams: "API-Team"
public: # Only for Web UI Access
name: public
driver: bridge
ipam:
config:
- subnet: ${IP_PUBLIC_BASE}0/24
driver_opts:
io.portainer.accesscontrol.teams: "API-Team"
### Docker Volumes
volumes:
# Container Management UI
<APP_NAME>_data:
labels:
io.portainer.accesscontrol.teams: "API-Team"
### Docker Secrets
secrets:
## Administrator Username
SECRET_NAME:
file: ${DIR_SECRETS}/<APP_DIRECTORY>/secret_file_name.secret
### Docker Container Includes
include:
## <APP_NAME>
- path: ${DIR_COMPOSE}/<APP_NAME>/<APP_NAME>-compose.yml
env_file:
- ${DIR_COMPOSE}/<APP_NAME>/<APP_NAME>.env