Fix deploy files

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-02-18 14:30:26 +08:00
parent f17c88547b
commit e8571492f0
2 changed files with 7 additions and 7 deletions

View File

@@ -1,11 +1,11 @@
test.nix.org.cn { test.nix.org.cn {
tls /etc/caddy/cert.crt /etc/caddy/key.pem tls /etc/caddy/cert.crt /etc/caddy/cert.key
handle /app/api/* { handle /app/api/* {
reverse_proxy backend:8000 reverse_proxy cms-server:8000
} }
handle /app/* { handle /app/* {
reverse_proxy client-cms:3000 reverse_proxy cms-client:3000
} }
} }

View File

@@ -1,7 +1,7 @@
services: services:
postgres: postgres:
image: docker.io/postgres:18-alpine image: docker.io/postgres:18-alpine
container_name: cms-db container_name: postgres
environment: environment:
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
@@ -18,7 +18,7 @@ services:
redis: redis:
image: docker.io/redis:8-alpine image: docker.io/redis:8-alpine
container_name: cms-redis container_name: redis
volumes: volumes:
- ./data/redis:/data - ./data/redis:/data
healthcheck: healthcheck:
@@ -29,7 +29,7 @@ services:
lgtm: lgtm:
image: grafana/otel-lgtm:latest image: grafana/otel-lgtm:latest
container_name: lgtm-stack container_name: lgtm
ports: ports:
- "3000:3000" - "3000:3000"
- "4317:4317" # OTLP gRPC - "4317:4317" # OTLP gRPC
@@ -48,7 +48,7 @@ services:
caddy: caddy:
image: docker.io/caddy:latest image: docker.io/caddy:latest
container_name: caddy-proxy container_name: caddy
restart: always restart: always
ports: ports:
- "80:80" - "80:80"