Update docker-compose.windows.yml file

This commit is contained in:
Andras Bacsai 2024-01-26 10:34:48 +01:00
parent 7d139fd33b
commit 9f5e1fa9e3

View File

@ -21,8 +21,7 @@ services:
- ./services:/var/www/html/storage/app/services - ./services:/var/www/html/storage/app/services
- ./backups:/var/www/html/storage/app/backups - ./backups:/var/www/html/storage/app/backups
env_file: env_file:
- path: ./.env - .env
required: true
environment: environment:
- APP_ID - APP_ID
- APP_ENV=production - APP_ENV=production
@ -61,21 +60,20 @@ services:
container_name: coolify-db container_name: coolify-db
restart: always restart: always
env_file: env_file:
- path: ./.env - .env
required: true
volumes: volumes:
- coolify-db:/var/lib/postgresql/data - coolify-db:/var/lib/postgresql/data
environment: environment:
POSTGRES_USER: "${DB_USERNAME}" POSTGRES_USER: "${DB_USERNAME:-coolify}"
POSTGRES_PASSWORD: "${DB_PASSWORD}" POSTGRES_PASSWORD: "${DB_PASSWORD}"
POSTGRES_DB: "${DB_DATABASE}" POSTGRES_DB: "${DB_DATABASE:-coolify}"
healthcheck: healthcheck:
test: test:
[ [
"CMD-SHELL", "CMD-SHELL",
"pg_isready -U ${DB_USERNAME}", "pg_isready -U ${DB_USERNAME:-coolify}",
"-d", "-d",
"${DB_DATABASE}" "${DB_DATABASE:-coolify}"
] ]
interval: 5s interval: 5s
retries: 10 retries: 10
@ -86,8 +84,7 @@ services:
restart: always restart: always
command: redis-server --save 20 1 --loglevel warning --requirepass ${REDIS_PASSWORD} command: redis-server --save 20 1 --loglevel warning --requirepass ${REDIS_PASSWORD}
env_file: env_file:
- path: ./.env - .env
required: true
environment: environment:
REDIS_PASSWORD: "${REDIS_PASSWORD}" REDIS_PASSWORD: "${REDIS_PASSWORD}"
volumes: volumes:
@ -102,8 +99,7 @@ services:
container_name: coolify-realtime container_name: coolify-realtime
restart: always restart: always
env_file: env_file:
- path: ./.env - .env
required: true
ports: ports:
- "${SOKETI_PORT:-6001}:6001" - "${SOKETI_PORT:-6001}:6001"
environment: environment: