Eric Bower
·
29 Nov 24
docker-compose.prod-irc.yml
1services:
2 auth-caddy:
3 image: ghcr.io/picosh/pico/caddy:latest
4 restart: always
5 networks:
6 - auth
7 - ${AUTH_NETWORK}
8 env_file:
9 - .env.prod
10 environment:
11 APP_DOMAIN: imgs.sh
12 APP_EMAIL: hello@pico.sh
13 volumes:
14 - ./caddy/Caddyfile.auth:/etc/caddy/Caddyfile
15 - ./data/auth-caddy/data:/data
16 - ./data/auth-caddy/config:/config
17 ports:
18 - "${AUTH_V4:-0.0.0.0}:443:443"
19 - "${AUTH_V4:-0.0.0.0}:80:80"
20 - "[${AUTH_V6:-::1}]:443:443"
21 - "[${AUTH_V6:-::1}]:80:80"
22 auth-web:
23 volumes:
24 - ./data/auth-web/data:/app/ssh_data
25 networks:
26 - ${AUTH_NETWORK}
27 env_file:
28 - .env.prod
29 bouncer-prom-proxy:
30 network_mode: service:bouncer
31 environment:
32 - PROXY_URL=http://localhost:9000
33 image: schmailzl/simple-reverse-proxy
34 profiles:
35 - bouncer
36 - services
37 - all
38 bouncer:
39 networks:
40 - ${AUTH_NETWORK}
41 env_file:
42 - .env.prod
43 ports:
44 - "${AUTH_IRCS_V4:-6697}:6697"
45 - "${AUTH_IRCS_V6:-[::1]:6697}:6697"
46 - "${AUTH_IDENTD_V4:-113}:113"
47 - "${AUTH_IDENTD_V6:-[::1]:113}:113"
48 volumes:
49 - ./data/run:/run/soju
50 - ./data/bouncer:/app/db
51 - ./data/certs:/certs
52 - ${AUTH_REAL_CERT_MOUNT}
53networks:
54 auth:
55 driver_opts:
56 com.docker.network.bridge.name: auth
57 ipam:
58 config:
59 - subnet: 172.24.0.0/16