Skip to content

Commit

Permalink
chore: update auth and imgs services
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Feb 4, 2024
1 parent 4fe315c commit a708dba
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
27 changes: 27 additions & 0 deletions docker-compose.prod-irc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
version: "3.8"
services:
auth-caddy:
image: ghcr.io/picosh/pico/caddy:latest
restart: always
networks:
- auth
- ${AUTH_NETWORK}
env_file:
- .env.prod
environment:
APP_DOMAIN: imgs.sh
APP_EMAIL: hello@pico.sh
volumes:
- ./caddy/Caddyfile.auth:/etc/caddy/Caddyfile
- ./data/auth-caddy/data:/data
- ./data/auth-caddy/config:/config
ports:
- "${AUTH_V4:-0.0.0.0}:443:443"
- "${AUTH_V4:-0.0.0.0}:80:80"
- "[${AUTH_V6:-::1}]:443:443"
- "[${AUTH_V6:-::1}]:80:80"
auth-web:
networks:
- ${AUTH_NETWORK}
Expand All @@ -25,3 +45,10 @@ services:
- ./data/bouncer:/app/db
- ./data/certs:/certs
- ${AUTH_REAL_CERT_MOUNT}
networks:
auth:
driver_opts:
com.docker.network.bridge.name: auth
ipam:
config:
- subnet: 172.24.0.0/16
6 changes: 1 addition & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ services:
imgs-ssh:
image: ghcr.io/picosh/pico/imgs-ssh:latest
restart: always
profiles:
- imgs
- services
- all
pgs-web:
image: ghcr.io/picosh/pico/pgs-web:latest
restart: always
Expand Down Expand Up @@ -111,7 +107,7 @@ services:
- services
- all
bouncer:
image: ghcr.io/picosh/pico/bouncer:latest
image: ghcr.io/picosh/pico/bouncer:main
restart: always
profiles:
- bouncer
Expand Down

0 comments on commit a708dba

Please sign in to comment.