Compare commits

...

1 Commits

Author SHA1 Message Date
Manish Gupta
b705ad2fa9 docker-compose-hub fix 2023-11-16 10:35:54 +05:30

View File

@ -41,10 +41,10 @@ services:
- PGPASSWORD=${PGPASSWORD:-plane} - PGPASSWORD=${PGPASSWORD:-plane}
- PGHOST=${PGHOST:-plane-db} - PGHOST=${PGHOST:-plane-db}
- PGDATABASE=${PGDATABASE:-plane} - PGDATABASE=${PGDATABASE:-plane}
- DATABASE_URL=${DATABASE_URL:-postgresql://${PGUSER}:${PGPASSWORD}@${PGHOST}/${PGDATABASE}} - DATABASE_URL=${DATABASE_URL:-postgresql://${PGUSER:-plane}:${PGPASSWORD:-plane}@${PGHOST:-plane-db}/${PGDATABASE:-plane}}
- REDIS_HOST=${REDIS_HOST:-plane-redis} - REDIS_HOST=${REDIS_HOST:-plane-redis}
- REDIS_PORT=${REDIS_PORT:-6379} - REDIS_PORT=${REDIS_PORT:-6379}
- REDIS_URL=${REDIS_URL:-redis://${REDIS_HOST}:6379/} - REDIS_URL=${REDIS_URL:-redis://${REDIS_HOST:-plane-redis}:6379/}
- EMAIL_HOST=${EMAIL_HOST:-""} - EMAIL_HOST=${EMAIL_HOST:-""}
- EMAIL_HOST_USER=${EMAIL_HOST_USER:-""} - EMAIL_HOST_USER=${EMAIL_HOST_USER:-""}
- EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD:-""} - EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD:-""}
@ -71,6 +71,7 @@ services:
- ENABLE_EMAIL_PASSWORD=${ENABLE_EMAIL_PASSWORD:-1} - ENABLE_EMAIL_PASSWORD=${ENABLE_EMAIL_PASSWORD:-1}
- ENABLE_MAGIC_LINK_LOGIN=${ENABLE_MAGIC_LINK_LOGIN:-0} - ENABLE_MAGIC_LINK_LOGIN=${ENABLE_MAGIC_LINK_LOGIN:-0}
- SECRET_KEY=${SECRET_KEY:-60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5} - SECRET_KEY=${SECRET_KEY:-60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5}
- WEB_URL=${WEB_URL:-http://localhost}
depends_on: depends_on:
- plane-db - plane-db
- plane-redis - plane-redis
@ -89,10 +90,10 @@ services:
- PGPASSWORD=${PGPASSWORD:-plane} - PGPASSWORD=${PGPASSWORD:-plane}
- PGHOST=${PGHOST:-plane-db} - PGHOST=${PGHOST:-plane-db}
- PGDATABASE=${PGDATABASE:-plane} - PGDATABASE=${PGDATABASE:-plane}
- DATABASE_URL=${DATABASE_URL:-postgresql://${PGUSER}:${PGPASSWORD}@${PGHOST}/${PGDATABASE}} - DATABASE_URL=${DATABASE_URL:-postgresql://${PGUSER:-plane}:${PGPASSWORD:-plane}@${PGHOST:-plane-db}/${PGDATABASE:-plane}}
- REDIS_HOST=${REDIS_HOST:-plane-redis} - REDIS_HOST=${REDIS_HOST:-plane-redis}
- REDIS_PORT=${REDIS_PORT:-6379} - REDIS_PORT=${REDIS_PORT:-6379}
- REDIS_URL=${REDIS_URL:-redis://${REDIS_HOST}:6379/} - REDIS_URL=${REDIS_URL:-redis://${REDIS_HOST:-plane-redis}:6379/}
- EMAIL_HOST=${EMAIL_HOST:-""} - EMAIL_HOST=${EMAIL_HOST:-""}
- EMAIL_HOST_USER=${EMAIL_HOST_USER:-""} - EMAIL_HOST_USER=${EMAIL_HOST_USER:-""}
- EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD:-""} - EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD:-""}
@ -136,10 +137,10 @@ services:
- PGPASSWORD=${PGPASSWORD:-plane} - PGPASSWORD=${PGPASSWORD:-plane}
- PGHOST=${PGHOST:-plane-db} - PGHOST=${PGHOST:-plane-db}
- PGDATABASE=${PGDATABASE:-plane} - PGDATABASE=${PGDATABASE:-plane}
- DATABASE_URL=${DATABASE_URL:-postgresql://${PGUSER}:${PGPASSWORD}@${PGHOST}/${PGDATABASE}} - DATABASE_URL=${DATABASE_URL:-postgresql://${PGUSER:-plane}:${PGPASSWORD:-plane}@${PGHOST:-plane-db}/${PGDATABASE:-plane}}
- REDIS_HOST=${REDIS_HOST:-plane-redis} - REDIS_HOST=${REDIS_HOST:-plane-redis}
- REDIS_PORT=${REDIS_PORT:-6379} - REDIS_PORT=${REDIS_PORT:-6379}
- REDIS_URL=${REDIS_URL:-redis://${REDIS_HOST}:6379/} - REDIS_URL=${REDIS_URL:-redis://${REDIS_HOST:-plane-redis}:6379/}
- EMAIL_HOST=${EMAIL_HOST:-""} - EMAIL_HOST=${EMAIL_HOST:-""}
- EMAIL_HOST_USER=${EMAIL_HOST_USER:-""} - EMAIL_HOST_USER=${EMAIL_HOST_USER:-""}
- EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD:-""} - EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD:-""}
@ -218,7 +219,7 @@ services:
platform: linux/amd64 platform: linux/amd64
image: makeplane/plane-proxy:latest image: makeplane/plane-proxy:latest
ports: ports:
- ${NGINX_PORT}:80 - ${NGINX_PORT:-80}:80
environment: environment:
- NGINX_PORT=${NGINX_PORT:-80} - NGINX_PORT=${NGINX_PORT:-80}
- FILE_SIZE_LIMIT=${FILE_SIZE_LIMIT:-5242880} - FILE_SIZE_LIMIT=${FILE_SIZE_LIMIT:-5242880}