Files
linumiq_net-web_app/docker-compose.yml
T
linumiq_net-user f1cca454e2 dev: parameterize compose for dev build (web-dev image/container, dev_edge network)
- image web-dev:1.0.0, container web-dev, network dev_edge
- NEXT_PUBLIC_* build args resolved from gitignored .env.production
  (api-dev/app-dev URLs) so the dev bundle targets the dev API.
- ignore .env.production (dev secrets) in this branch.
2026-05-30 13:24:23 +02:00

32 lines
712 B
YAML

name: web-dev
services:
web:
build:
context: .
dockerfile: Dockerfile
args:
NEXT_PUBLIC_SUPABASE_URL: ${NEXT_PUBLIC_SUPABASE_URL}
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${NEXT_PUBLIC_SUPABASE_ANON_KEY}
NEXT_PUBLIC_APP_URL: ${NEXT_PUBLIC_APP_URL}
image: web-dev:1.0.0
container_name: web-dev
restart: unless-stopped
security_opt:
- no-new-privileges:true
env_file:
- .env.production
expose:
- "3000"
networks:
- dev_edge
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
networks:
dev_edge:
external: true