dockerized atproto relay

conf changes based on troubleshooting

besaid.zone bb08c86f aa7b9da2

verified
+5 -1
conf/Caddyfile
··· 1 yourdomain.com { 2 - reverse_proxy relay:2470 3 }
··· 1 yourdomain.com { 2 + tls { 3 + on_demand 4 + } 5 + 6 + reverse_proxy localhost:2470 7 }
-1
conf/postgres.conf
··· 1 - listen_addresses = '127.0.0.1'
···
+2 -6
docker-compose.yml
··· 29 - caddy_data:/data 30 db: 31 env_file: .env 32 - image: postgres:17-alpine 33 healthcheck: 34 - test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"] 35 - interval: 10s 36 retries: 5 37 start_period: 30s 38 timeout: 10s ··· 40 volumes: 41 - ${HOME}/postgres-data:/var/lib/postgresql/data 42 - ./init.sql:/docker-entrypoint-initdb.d/init.sql:ro 43 - - ./conf/postgres.conf:/etc/postgresql/postgresql.conf 44 - command: ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"] 45 ports: 46 - "5432:5432" 47 networks: 48 - backend 49 - 50 volumes: 51 caddy_data: 52 caddy_config:
··· 29 - caddy_data:/data 30 db: 31 env_file: .env 32 + image: postgres:16-alpine 33 healthcheck: 34 + test: ["CMD-SHELL", "pg_isready -U relay"] 35 retries: 5 36 start_period: 30s 37 timeout: 10s ··· 39 volumes: 40 - ${HOME}/postgres-data:/var/lib/postgresql/data 41 - ./init.sql:/docker-entrypoint-initdb.d/init.sql:ro 42 ports: 43 - "5432:5432" 44 networks: 45 - backend 46 volumes: 47 caddy_data: 48 caddy_config: