Add environment file for Windows Docker Desktop

This commit is contained in:
Andras Bacsai 2024-01-26 10:31:37 +01:00
parent b75a2857a0
commit 7d139fd33b
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,5 @@
IS_WINDOWS_DOCKER_DESKTOP=true
APP_ID=coolify-windows-docker-desktop APP_ID=coolify-windows-docker-desktop
APP_NAME=Coolify APP_NAME=Coolify
APP_KEY=base64:ssTlCmrIE/q7whnKMvT6DwURikg69COzGsAwFVROm80= APP_KEY=base64:ssTlCmrIE/q7whnKMvT6DwURikg69COzGsAwFVROm80=

View File

@ -15,15 +15,14 @@ services:
extra_hosts: extra_hosts:
- 'host.docker.internal:host-gateway' - 'host.docker.internal:host-gateway'
volumes: volumes:
- type: bind
source: ./.env
target: /var/www/html/.env
read_only: true
- ./ssh:/var/www/html/storage/app/ssh - ./ssh:/var/www/html/storage/app/ssh
- ./applications:/var/www/html/storage/app/applications - ./applications:/var/www/html/storage/app/applications
- ./databases:/var/www/html/storage/app/databases - ./databases:/var/www/html/storage/app/databases
- ./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:
- path: ./.env
required: true
environment: environment:
- APP_ID - APP_ID
- APP_ENV=production - APP_ENV=production
@ -61,6 +60,9 @@ services:
image: postgres:15-alpine image: postgres:15-alpine
container_name: coolify-db container_name: coolify-db
restart: always restart: always
env_file:
- path: ./.env
required: true
volumes: volumes:
- coolify-db:/var/lib/postgresql/data - coolify-db:/var/lib/postgresql/data
environment: environment:
@ -83,6 +85,9 @@ services:
container_name: coolify-redis container_name: coolify-redis
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:
- path: ./.env
required: true
environment: environment:
REDIS_PASSWORD: "${REDIS_PASSWORD}" REDIS_PASSWORD: "${REDIS_PASSWORD}"
volumes: volumes:
@ -96,6 +101,9 @@ services:
image: 'quay.io/soketi/soketi:1.6-16-alpine' image: 'quay.io/soketi/soketi:1.6-16-alpine'
container_name: coolify-realtime container_name: coolify-realtime
restart: always restart: always
env_file:
- path: ./.env
required: true
ports: ports:
- "${SOKETI_PORT:-6001}:6001" - "${SOKETI_PORT:-6001}:6001"
environment: environment: