- commit
- a708dba
- parent
- 4fe315c
- author
- Eric Bower
- date
- 2024-02-04 16:24:01 +0000 UTC
chore: update auth and imgs services
2 files changed,
+28,
-5
+27,
-0
1@@ -1,5 +1,25 @@
2 version: "3.8"
3 services:
4+ auth-caddy:
5+ image: ghcr.io/picosh/pico/caddy:latest
6+ restart: always
7+ networks:
8+ - auth
9+ - ${AUTH_NETWORK}
10+ env_file:
11+ - .env.prod
12+ environment:
13+ APP_DOMAIN: imgs.sh
14+ APP_EMAIL: hello@pico.sh
15+ volumes:
16+ - ./caddy/Caddyfile.auth:/etc/caddy/Caddyfile
17+ - ./data/auth-caddy/data:/data
18+ - ./data/auth-caddy/config:/config
19+ ports:
20+ - "${AUTH_V4:-0.0.0.0}:443:443"
21+ - "${AUTH_V4:-0.0.0.0}:80:80"
22+ - "[${AUTH_V6:-::1}]:443:443"
23+ - "[${AUTH_V6:-::1}]:80:80"
24 auth-web:
25 networks:
26 - ${AUTH_NETWORK}
27@@ -25,3 +45,10 @@ services:
28 - ./data/bouncer:/app/db
29 - ./data/certs:/certs
30 - ${AUTH_REAL_CERT_MOUNT}
31+networks:
32+ auth:
33+ driver_opts:
34+ com.docker.network.bridge.name: auth
35+ ipam:
36+ config:
37+ - subnet: 172.24.0.0/16
+1,
-5
1@@ -71,10 +71,6 @@ services:
2 imgs-ssh:
3 image: ghcr.io/picosh/pico/imgs-ssh:latest
4 restart: always
5- profiles:
6- - imgs
7- - services
8- - all
9 pgs-web:
10 image: ghcr.io/picosh/pico/pgs-web:latest
11 restart: always
12@@ -111,7 +107,7 @@ services:
13 - services
14 - all
15 bouncer:
16- image: ghcr.io/picosh/pico/bouncer:latest
17+ image: ghcr.io/picosh/pico/bouncer:main
18 restart: always
19 profiles:
20 - bouncer