chore: docker-compose

This commit is contained in:
ryan
2026-08-03 21:48:34 +08:00
parent ae35b4e733
commit db17965b1a
+3 -5
View File
@@ -4,8 +4,8 @@ services:
context: . context: .
dockerfile: docker/Dockerfile dockerfile: docker/Dockerfile
args: args:
VERSION: v0.9.9 VERSION: canary
# image: ghcr.io/rain-kl/wavelet:latest image: ghcr.io/rain-kl/wavelet:canary
restart: unless-stopped restart: unless-stopped
env_file: .env env_file: .env
environment: environment:
@@ -16,7 +16,7 @@ services:
ports: ports:
- "${APP_PORT:-8000}:8000" - "${APP_PORT:-8000}:8000"
volumes: volumes:
- ./uploads:/app/uploads - ./data/uploads:/app/uploads
- ./data/sqlite:/app/data - ./data/sqlite:/app/data
depends_on: depends_on:
postgres: postgres:
@@ -51,8 +51,6 @@ services:
command: ["valkey-server", "--appendonly", "yes"] command: ["valkey-server", "--appendonly", "yes"]
ports: ports:
- "${REDIS_PORT:-6379}:6379" - "${REDIS_PORT:-6379}:6379"
volumes:
- ./data/valkey:/data
healthcheck: healthcheck:
test: ["CMD", "valkey-cli", "ping"] test: ["CMD", "valkey-cli", "ping"]
interval: 10s interval: 10s