-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (48 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
50 lines (48 loc) · 1.08 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
50
version: "3.9"
volumes:
config:
certificates:
desired:
rates:
available:
enabled:
services:
acmetool:
# build:
# context: .
# dockerfile: Dockerfile-acmetool
image: "rmamba/acmetool:develop"
volumes:
- certificates:/var/lib/acme/live
- desired:/var/lib/acme/desired:ro
nginx:
image: "rmamba/letsproxy:nginx-develop"
ports:
- "80:80"
- "443:443"
depends_on:
- "acmetool"
volumes:
- certificates:/var/lib/acme/live:ro
- rates:/etc/nginx/rates:ro
- available:/etc/nginx/sites-available:ro
- enabled:/etc/nginx/sites-enabled:ro
api:
image: "rmamba/letsproxy:api-develop"
ports:
- "3005:3005"
depends_on:
- "nginx"
volumes:
- desired:/var/lib/acme/desired
- config:/usr/src/app/config
- available:/usr/src/app/nginx/sites-available
- enabled:/usr/src/app/nginx/sites-enabled
frontend:
image: "rmamba/letsproxy:frontend"
ports:
- "3001:80"
depends_on:
- "api"
environment:
- LETSPROXY_API=http://api:3005