Skip to content

Commit 395ccf3

Browse files
committed
initial caddy deploy compose files
1 parent 4323ea6 commit 395ccf3

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

deploy/caddy/docker-compose.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
services:
2+
caddy:
3+
image: lucaslorentz/caddy-docker-proxy:ci-alpine
4+
ports:
5+
- 80:80
6+
- 443:443
7+
environment:
8+
- CADDY_INGRESS_NETWORKS=caddy
9+
networks:
10+
- caddy
11+
volumes:
12+
- /var/run/docker.sock:/var/run/docker.sock
13+
- caddy_data:/data
14+
restart: unless-stopped
15+
16+
networks:
17+
caddy:
18+
external: true
19+
20+
volumes:
21+
caddy_data: {}

deploy/vbos/docker-compose.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
services:
2+
vbos-backend:
3+
image: ghcr.io/developmentseed/vbos-backend:latest
4+
environment:
5+
- DJANGO_SETTINGS_MODULE=vbos.config.production
6+
ports:
7+
- 8000:8000
8+
ipc: host
9+
networks:
10+
- caddy
11+
labels:
12+
caddy: vbos-backend.ds.io
13+
caddy.reverse_proxy: "{{upstreams 8000}}"
14+
15+
networks:
16+
caddy:
17+
external: true

0 commit comments

Comments
 (0)