Update environment variables and Docker image for Windows Docker Desktop

This commit is contained in:
Andras Bacsai 2024-01-26 10:24:42 +01:00
parent ab6c1ddc20
commit b75a2857a0
2 changed files with 16 additions and 5 deletions

View File

@ -0,0 +1,10 @@
APP_ID=coolify-windows-docker-desktop
APP_NAME=Coolify
APP_KEY=base64:ssTlCmrIE/q7whnKMvT6DwURikg69COzGsAwFVROm80=
DB_PASSWORD=coolify
REDIS_PASSWORD=coolify
PUSHER_APP_ID=coolify
PUSHER_APP_KEY=coolify
PUSHER_APP_SECRET=coolify

View File

@ -8,7 +8,7 @@ services:
- //var/run/docker.sock://var/run/docker.sock - //var/run/docker.sock://var/run/docker.sock
- ./:/data/coolify - ./:/data/coolify
coolify: coolify:
image: "ghcr.io/coollabsio/coolify:${LATEST_IMAGE:-4.0.0-beta.199}" image: "ghcr.io/coollabsio/coolify:next"
container_name: coolify container_name: coolify
restart: always restart: always
working_dir: /var/www/html working_dir: /var/www/html
@ -42,6 +42,7 @@ services:
- AUTOUPDATE=true - AUTOUPDATE=true
- SELF_HOSTED=true - SELF_HOSTED=true
- MUX_ENABLED=false - MUX_ENABLED=false
- IS_WINDOWS_DOCKER_DESKTOP=true
ports: ports:
- "${APP_PORT:-8000}:80" - "${APP_PORT:-8000}:80"
expose: expose:
@ -63,16 +64,16 @@ services:
volumes: volumes:
- coolify-db:/var/lib/postgresql/data - coolify-db:/var/lib/postgresql/data
environment: environment:
POSTGRES_USER: "${DB_USERNAME:-coolify}" POSTGRES_USER: "${DB_USERNAME}"
POSTGRES_PASSWORD: "${DB_PASSWORD}" POSTGRES_PASSWORD: "${DB_PASSWORD}"
POSTGRES_DB: "${DB_DATABASE:-coolify}" POSTGRES_DB: "${DB_DATABASE}"
healthcheck: healthcheck:
test: test:
[ [
"CMD-SHELL", "CMD-SHELL",
"pg_isready -U ${DB_USERNAME:-coolify}", "pg_isready -U ${DB_USERNAME}",
"-d", "-d",
"${DB_DATABASE:-coolify}" "${DB_DATABASE}"
] ]
interval: 5s interval: 5s
retries: 10 retries: 10