-
Notifications
You must be signed in to change notification settings - Fork 263
/
docker-compose.yml
61 lines (60 loc) · 1.23 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
services:
server:
image: opensign/opensignserver:main
container_name: OpenSignServer-container
volumes:
- opensign-files:/usr/src/app/files
ports:
- "8080:8080"
depends_on:
- mongo
env_file: .env.prod
environment:
- NODE_ENV=production
- SERVER_URL=${HOST_URL:-https://localhost:3001}/app
networks:
- app-network
mongo:
image: mongo:latest
container_name: mongo-container
volumes:
- data-volume:/data/db
ports:
- "27018:27017"
networks:
- app-network
client:
image: opensign/opensign:main
container_name: OpenSign-container
depends_on:
- server
env_file: .env.prod
ports:
- "3000:3000"
networks:
- app-network
caddy:
image: caddy:latest
container_name: caddy-container
ports:
- "3001:3001"
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
networks:
- app-network
environment:
- HOST_URL=${HOST_URL:-localhost:3001}
networks:
app-network:
driver: bridge
volumes:
data-volume:
web-root:
caddy_data:
caddy_config:
opensign-files: