Change production service port mappings and fix YAML quotes
Port mappings for admin and backend services are updated to use alternative external ports (3001 and 8001) to avoid conflicts. Healthcheck arrays are also normalized to use double quotes consistently throughout the file.
This commit is contained in:
@@ -6,7 +6,7 @@ services:
|
||||
admin:
|
||||
image: docker-registry.dev.home:5000/imago-admin:latest
|
||||
ports:
|
||||
- "3000:80"
|
||||
- "3001:80"
|
||||
depends_on:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
@@ -15,7 +15,7 @@ services:
|
||||
backend:
|
||||
image: docker-registry.dev.home:5000/imago-backend:latest
|
||||
ports:
|
||||
- '8000:8000'
|
||||
- "8001:8000"
|
||||
env_file: .env.production
|
||||
environment:
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
@@ -66,7 +66,7 @@ services:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
- ./backups:/backups
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', 'pg_isready -U imago -d imago']
|
||||
test: ["CMD-SHELL", "pg_isready -U imago -d imago"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -78,7 +78,7 @@ services:
|
||||
volumes:
|
||||
- redisdata:/data
|
||||
healthcheck:
|
||||
test: ['CMD', 'redis-cli', 'ping']
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user