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
|
@ -42,6 +42,8 @@ services:
|
|||
- "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.certresolver=letsencrypt"
|
||||
depends_on:
|
||||
- server
|
||||
|
||||
server:
|
||||
image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
||||
|
@ -64,9 +66,11 @@ services:
|
|||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "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.certresolver=letsencrypt"
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
volumes:
|
||||
postgres-data:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue