revert caddy changes

This commit is contained in:
Benjamin Salzberg 2024-05-01 01:50:26 +00:00
parent d3a3225ea7
commit 6294d7d317

View File

@ -24,8 +24,6 @@ services:
depends_on: depends_on:
- postgres - postgres
container_name: piped-backend container_name: piped-backend
environment:
- PORT=PORT_VALUE
nginx: nginx:
image: nginx:mainline-alpine image: nginx:mainline-alpine
restart: unless-stopped restart: unless-stopped
@ -33,15 +31,13 @@ services:
- ./config/nginx.conf:/etc/nginx/nginx.conf:ro - ./config/nginx.conf:/etc/nginx/nginx.conf:ro
- ./config/pipedapi.conf:/etc/nginx/conf.d/pipedapi.conf:ro - ./config/pipedapi.conf:/etc/nginx/conf.d/pipedapi.conf:ro
container_name: nginx container_name: nginx
environment:
- PORT=PORT_VALUE
depends_on: depends_on:
- piped - piped
caddy: caddy:
image: caddy:2-alpine image: caddy:2-alpine
restart: unless-stopped restart: unless-stopped
ports: ports:
- "PORT_VALUE:80" - "80:80"
- "443:443" - "443:443"
- "443:443/udp" - "443:443/udp"
volumes: volumes: