2026-08-25 11:42:24 +02:00
|
|
|
# Local testing without domains or TLS: publishes the app ports on localhost and
|
|
|
|
|
# leaves Caddy out. Never used in production — it must be passed explicitly:
|
|
|
|
|
# docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build cms frontend
|
|
|
|
|
services:
|
|
|
|
|
database:
|
|
|
|
|
ports:
|
|
|
|
|
- "127.0.0.1:5432:5432"
|
|
|
|
|
|
|
|
|
|
cms:
|
|
|
|
|
ports:
|
|
|
|
|
- "127.0.0.1:1337:1337"
|
|
|
|
|
environment:
|
|
|
|
|
STRAPI_URL: http://localhost:1337
|
|
|
|
|
|
|
|
|
|
frontend:
|
|
|
|
|
ports:
|
|
|
|
|
- "127.0.0.1:3000:3000"
|
|
|
|
|
environment:
|
|
|
|
|
NUXT_PUBLIC_SITE_URL: http://localhost:3000
|
|
|
|
|
NUXT_PUBLIC_STRAPI_URL: http://localhost:1337
|
2026-08-25 14:23:09 +02:00
|
|
|
NUXT_PUBLIC_I18N_BASE_URL: http://localhost:3000
|