Skip to content

Commit

Permalink
Update environment variables and Docker image for Windows Docker Desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Jan 26, 2024
1 parent ab6c1dd commit b75a285
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
10 changes: 10 additions & 0 deletions .env.windows-docker-desktop.example
Original file line number Diff line number Diff line change
@@ -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
11 changes: 6 additions & 5 deletions docker-compose.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- //var/run/docker.sock://var/run/docker.sock
- ./:/data/coolify
coolify:
image: "ghcr.io/coollabsio/coolify:${LATEST_IMAGE:-4.0.0-beta.199}"
image: "ghcr.io/coollabsio/coolify:next"
container_name: coolify
restart: always
working_dir: /var/www/html
Expand Down Expand Up @@ -42,6 +42,7 @@ services:
- AUTOUPDATE=true
- SELF_HOSTED=true
- MUX_ENABLED=false
- IS_WINDOWS_DOCKER_DESKTOP=true
ports:
- "${APP_PORT:-8000}:80"
expose:
Expand All @@ -63,16 +64,16 @@ services:
volumes:
- coolify-db:/var/lib/postgresql/data
environment:
POSTGRES_USER: "${DB_USERNAME:-coolify}"
POSTGRES_USER: "${DB_USERNAME}"
POSTGRES_PASSWORD: "${DB_PASSWORD}"
POSTGRES_DB: "${DB_DATABASE:-coolify}"
POSTGRES_DB: "${DB_DATABASE}"
healthcheck:
test:
[
"CMD-SHELL",
"pg_isready -U ${DB_USERNAME:-coolify}",
"pg_isready -U ${DB_USERNAME}",
"-d",
"${DB_DATABASE:-coolify}"
"${DB_DATABASE}"
]
interval: 5s
retries: 10
Expand Down

0 comments on commit b75a285

Please sign in to comment.