mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-18 20:39:36 +02:00
commit
9ceee13edc
1 changed files with 7 additions and 3 deletions
|
@ -41,7 +41,9 @@ services:
|
||||||
- "traefik.http.routers.adventurelogweb.entrypoints=websecure"
|
- "traefik.http.routers.adventurelogweb.entrypoints=websecure"
|
||||||
- "traefik.http.routers.adventurelogweb.rule=Host(`yourdomain.com`) && !(PathPrefix(`/media`) || PathPrefix(`/admin`) || PathPrefix(`/static`))" # Replace with your domain
|
- "traefik.http.routers.adventurelogweb.rule=Host(`yourdomain.com`) && !(PathPrefix(`/media`) || PathPrefix(`/admin`) || PathPrefix(`/static`))" # Replace with your domain
|
||||||
- "traefik.http.routers.adventurelogweb.tls=true"
|
- "traefik.http.routers.adventurelogweb.tls=true"
|
||||||
- "traefik.http.routers.adventurelogweb.tls.certresolver=letsencrypt"
|
- "traefik.http.routers.adventurelogweb.tls.certresolver=letsencrypt"
|
||||||
|
depends_on:
|
||||||
|
- server
|
||||||
|
|
||||||
server:
|
server:
|
||||||
image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
||||||
|
@ -64,9 +66,11 @@ services:
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.adventurelogserver.entrypoints=websecure"
|
- "traefik.http.routers.adventurelogserver.entrypoints=websecure"
|
||||||
- "traefik.http.routers.adventurelogserver.rule=Host(`yourdomain.com`) && && (PathPrefix(`/media`) || PathPrefix(`/admin`) || PathPrefix(`/static`))" # Replace with your domain
|
- "traefik.http.routers.adventurelogserver.rule=Host(`yourdomain.com`) && (PathPrefix(`/media`) || PathPrefix(`/admin`) || PathPrefix(`/static`))" # Replace with your domain
|
||||||
- "traefik.http.routers.adventurelogserver.tls=true"
|
- "traefik.http.routers.adventurelogserver.tls=true"
|
||||||
- "traefik.http.routers.adventurelogserver.tls.certresolver=letsencrypt"
|
- "traefik.http.routers.adventurelogserver.tls.certresolver=letsencrypt"
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres-data:
|
postgres-data:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue