move dev docker composes

This commit is contained in:
Bill Yang 2025-05-05 15:14:53 -07:00
parent 8d56c47059
commit 707f520399
2 changed files with 8 additions and 8 deletions

View file

@ -8,7 +8,7 @@ services:
- "443:443" - "443:443"
- "443:443/udp" # Needed for HTTP/3 - "443:443/udp" # Needed for HTTP/3
volumes: volumes:
- ./Caddyfile:/etc/caddy/Caddyfile # Mount Caddy config file - ../Caddyfile:/etc/caddy/Caddyfile # Mount Caddy config file
- caddy_data:/data # Mount persistent data volume for certs etc. - caddy_data:/data # Mount persistent data volume for certs etc.
- caddy_config:/config # Mount persistent config volume - caddy_config:/config # Mount persistent config volume
environment: environment:
@ -27,7 +27,7 @@ services:
- "9000:9000" - "9000:9000"
volumes: volumes:
- clickhouse-data:/var/lib/clickhouse - clickhouse-data:/var/lib/clickhouse
- ./clickhouse_config:/etc/clickhouse-server/config.d - ../clickhouse_config:/etc/clickhouse-server/config.d
environment: environment:
- CLICKHOUSE_DB=analytics - CLICKHOUSE_DB=analytics
- CLICKHOUSE_USER=default - CLICKHOUSE_USER=default
@ -54,7 +54,7 @@ services:
backend: backend:
container_name: backend container_name: backend
build: build:
context: ./server context: ../server
dockerfile: Dockerfile dockerfile: Dockerfile
environment: environment:
- NODE_ENV=production - NODE_ENV=production
@ -87,7 +87,7 @@ services:
client: client:
container_name: client container_name: client
build: build:
context: ./client context: ../client
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
NEXT_PUBLIC_BACKEND_URL: ${BASE_URL} NEXT_PUBLIC_BACKEND_URL: ${BASE_URL}

View file

@ -8,7 +8,7 @@ services:
- "443:443" - "443:443"
- "443:443/udp" # Needed for HTTP/3 - "443:443/udp" # Needed for HTTP/3
volumes: volumes:
- ./Caddyfile:/etc/caddy/Caddyfile # Mount Caddy config file - ../Caddyfile:/etc/caddy/Caddyfile # Mount Caddy config file
- caddy_data:/data # Mount persistent data volume for certs etc. - caddy_data:/data # Mount persistent data volume for certs etc.
- caddy_config:/config # Mount persistent config volume - caddy_config:/config # Mount persistent config volume
environment: environment:
@ -27,7 +27,7 @@ services:
- "9000:9000" - "9000:9000"
volumes: volumes:
- clickhouse-data:/var/lib/clickhouse - clickhouse-data:/var/lib/clickhouse
- ./clickhouse_config:/etc/clickhouse-server/config.d - ../clickhouse_config:/etc/clickhouse-server/config.d
environment: environment:
- CLICKHOUSE_DB=analytics - CLICKHOUSE_DB=analytics
- CLICKHOUSE_USER=default - CLICKHOUSE_USER=default
@ -56,7 +56,7 @@ services:
backend: backend:
container_name: backend container_name: backend
build: build:
context: ./server context: ../server
dockerfile: Dockerfile dockerfile: Dockerfile
environment: environment:
- NODE_ENV=production - NODE_ENV=production
@ -91,7 +91,7 @@ services:
client: client:
container_name: client container_name: client
build: build:
context: ./client context: ../client
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
NEXT_PUBLIC_BACKEND_URL: ${BASE_URL} NEXT_PUBLIC_BACKEND_URL: ${BASE_URL}