phobos specific compose
This commit is contained in:
parent
a5cf209999
commit
e21dd8610b
1 changed files with 39 additions and 16 deletions
55
compose.yml
55
compose.yml
|
@ -4,20 +4,43 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
PUBLIC_POCKETBASE_URL: https://pb.data.lio.systems
|
PUBLIC_POCKETBASE_URL: ${PUBLIC_POCKETBASE_URL}
|
||||||
PUBLIC_TITLE: Astro Gallery
|
PUBLIC_TITLE: ${PUBLIC_TITLE}
|
||||||
PUBLIC_DESCRIPTION: This is my Gallery Site
|
PUBLIC_DESCRIPTION: ${PUBLIC_DESCRIPTION}
|
||||||
PUBLIC_USEICONS: true
|
PUBLIC_USEICONS: ${PUBLIC_USEICONS}
|
||||||
|
env_file: .env
|
||||||
|
labels:
|
||||||
|
caddy: lion.gay
|
||||||
|
caddy.reverse_proxy: "{{upstreams 4321}}"
|
||||||
|
pocketbase:
|
||||||
|
image: ghcr.io/muchobien/pocketbase:latest
|
||||||
|
container_name: pocketbase
|
||||||
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
caddy: pocket.fangs.app
|
||||||
|
caddy.reverse_proxy: "{{upstreams 8090}}"
|
||||||
|
caddy:
|
||||||
|
container_name: "caddy"
|
||||||
|
image: videah/caddy-proxy:latest
|
||||||
ports:
|
ports:
|
||||||
- 4321:4321
|
- "80:80"
|
||||||
env_file:
|
- "443:443"
|
||||||
- .env
|
- "443:443/udp"
|
||||||
# - PUBLIC_POCKETBASE_URL=https://pb.data.lio.systems
|
environment:
|
||||||
# - PUBLIC_TITLE=Astro Gallery
|
- CADDY_INGRESS_NETWORKS=caddy
|
||||||
# - PUBLIC_DESCRIPTION=This is my Gallery Site
|
networks:
|
||||||
# - PUBLIC_USEICONS=true
|
- caddy
|
||||||
# build:
|
volumes:
|
||||||
# context: .
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
# dockerfile: Dockerfile
|
- caddy_data:/data
|
||||||
# args:
|
restart: unless-stopped
|
||||||
# PUBLIC_HOST: http://localhost:4321
|
labels:
|
||||||
|
caddy.email: "caddy@lion.gay"
|
||||||
|
caddy.encode: zstd gzip
|
||||||
|
|
||||||
|
networks:
|
||||||
|
caddy:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
caddy_data: {}
|
Loading…
Add table
Reference in a new issue