-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
48 lines (45 loc) · 1.14 KB
/
docker-compose.yaml
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
version: '3.7'
services:
couchserver:
container_name: zkafi-couchdb
image: couchdb
restart: always
ports:
- "5984:5984"
environment:
- COUCHDB_USER=admin
- COUCHDB_PASSWORD=WsonEYErSarDsODisHALigUN
networks:
- zkafi_network
volumes:
- ./dbdata:/opt/couchdb/data
frontend:
container_name: zkafi-frontend
image: zkafi_frontend
ports:
- '3000:3000'
restart: always
networks:
- zkafi_network
- public_access
build:
context: ./
dockerfile: Dockerfile
caddy:
container_name: zkafi-caddy
image: caddy:latest
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./caddy/caddy_data:/data
- ./caddy/caddy_config:/config
- ./caddy/caddy_config/Caddyfile:/etc/caddy/Caddyfile
networks:
- public_access
networks:
public_access:
zkafi_network:
name: zkafi_network
driver: bridge