diff options
author | 2024-08-19 00:27:43 +0100 | |
---|---|---|
committer | 2024-08-19 00:28:03 +0100 | |
commit | 47f248cfd7754aebc82dbbff9efe3fe84edb90b1 (patch) | |
tree | acfc9bc75d24b063232db33076c8fbc296c8cce2 /docker-compose.yml | |
parent | Only deploy backend in CI (diff) |
Caddy local support
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 48bc52e..5719724 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,6 +28,7 @@ services: environment: BACKEND_DATABASE_URL: postgresql+psycopg_async://thallium:thallium@postgres:5432/thallium BACKEND_TOKEN: suitable-for-development-only + BACKEND_APP_PREFIX: /api ports: - "8000:8000" depends_on: @@ -47,3 +48,15 @@ services: - /app/node_modules ports: - "5173:5173" + + thallium-caddy: + image: caddy:2-alpine + restart: unless-stopped + volumes: + - ./thallium-caddy/Caddyfile:/etc/caddy/Caddyfile:ro + - ./thallium-caddy/data:/data + ports: + - "80:80" + depends_on: + - thallium-backend + - thallium-frontend |