Update .gitignore to include build artifacts and development dependencies; fix port mapping in docker-compose for marketing service; add marketing configuration analysis documentation; enhance Vite configuration for allowed hosts; update marketing script in package.json; remove unused marketing image asset.
This commit is contained in:
@@ -86,11 +86,13 @@ services:
|
||||
igny8_marketing:
|
||||
# NOTE: Use 'image:' not 'build:' to avoid creating parallel stacks
|
||||
# Build images separately: docker build -t igny8-marketing:latest -f Dockerfile.marketing .
|
||||
# NOTE: This can run in parallel with igny8_marketing_dev - they use different ports
|
||||
# Production build accessible at http://localhost:8022 (direct) or via Caddy routing
|
||||
image: igny8-marketing:latest
|
||||
container_name: igny8_marketing
|
||||
restart: always
|
||||
ports:
|
||||
- "0.0.0.0:8022:5174" # Marketing site port (internal: 5174, external: 8022)
|
||||
- "0.0.0.0:8022:8020" # Marketing site port (internal: 8020 Caddy, external: 8022)
|
||||
networks: [igny8_net]
|
||||
labels:
|
||||
- "com.docker.compose.project=igny8-app"
|
||||
@@ -99,6 +101,8 @@ services:
|
||||
igny8_marketing_dev:
|
||||
# Development server for marketing site with HMR
|
||||
# Build separately: docker build -t igny8-marketing-dev:latest -f Dockerfile.marketing.dev .
|
||||
# NOTE: This runs in parallel with igny8_marketing - they use different ports (no conflict)
|
||||
# Dev server accessible at http://localhost:8023 (direct) or via Caddy routing (when configured)
|
||||
image: igny8-marketing-dev:latest
|
||||
container_name: igny8_marketing_dev
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user