repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

Eric Bower · 01 Nov 24

docker-compose.prod-irc.yml

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