-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (35 loc) · 914 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (35 loc) · 914 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
33
34
35
36
37
38
39
version: '3.3'
services:
caddy:
image: lucaslorentz/caddy-docker-proxy:ci-alpine-arm32v6
container_name: caddy
ports:
- 80:80
# - 443:443
environment:
- CADDY_INGRESS_NETWORKS=caddy
networks:
- caddy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data/caddy:/data
restart: unless-stopped
obsreceiver:
image: obsreceiver:latest
container_name: obsreceiver
volumes:
- ./obsidian_conf:/root/obsidian_conf
environment:
- PORT=8045
labels:
caddy: ${OBS_SERVER_DOMAIN}
caddy.reverse_proxy: "{{upstreams 8045}}"
caddy.basicauth: "/*"
# generate this with docker exec -it caddy caddy hash-password
caddy.basicauth.admin: "${OBS_SERVER_PASSWORD}"
restart: unless-stopped
networks:
- caddy
networks:
caddy:
external: true