-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml.sample
More file actions
32 lines (29 loc) · 1004 Bytes
/
docker-compose.yml.sample
File metadata and controls
32 lines (29 loc) · 1004 Bytes
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
# STRAUTOMATOR DOCKER COMPOSE SAMPLE
# Using caddy-gen as a SSL proxy. Please note that you must change the image
# name and have the correct credentials and secrets set on a settings.env file.
version: "2"
services:
caddy-gen:
container_name: caddy-gen
image: wemakeservices/caddy-gen:latest
restart: on-failure
privileged: true
ports:
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./certs/acme:/etc/caddy/acme
- ./certs/ocsp:/etc/caddy/ocsp
depends_on:
- strautomator
strautomator:
container_name: strautomator
image: location.to.your.strautomator
restart: on-failure
env_file:
- ./settings.env
labels:
- "virtual.host=my-strautomator-domain.com"
- "virtual.alias=www.my-strautomator-domain.com"
- "virtual.port=8080"
- "virtual.tls-email=your@email.com"