Skip to content

Commit c3ef66e

Browse files
committed
Add caddy and docker compose
1 parent bd1f688 commit c3ef66e

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

File renamed without changes.

caddy-conf/Caddyfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
:80 {
2+
# Forward all requests starting with /_remote/ to App A
3+
#handle /socket.io/* {
4+
# reverse_proxy http://reveal-remote:8080
5+
#}
6+
7+
# Forward everything else to App B
8+
handle {
9+
reverse_proxy http://backend:8080
10+
}
11+
}

docker-compose.yml.example

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
services:
2+
caddy:
3+
image: caddy
4+
restart: unless-stopped
5+
ports:
6+
- "8080:80"
7+
volumes:
8+
- ./caddy-conf:/etc/caddy:ro
9+
backend:
10+
image: ghcr.io/abynox/mess:main
11+
restart: unless-stopped
12+
env_file:
13+
- .env
14+
volumes:
15+
- ./data:/data:rw

0 commit comments

Comments
 (0)