feat: config ports in .env

This commit is contained in:
ManUtopiK 2022-10-29 20:29:48 +02:00
parent fadc12e596
commit 83ea3e1455
6 changed files with 13 additions and 6 deletions

View File

@ -35,6 +35,7 @@ POSTGRES_PASSWORD=rootpassword
# pgadmin
######
# PGADMIN_PORT= # default to 80
# PGADMIN_DEFAULT_MAIL= # default to ADMIN_MAIL
# PGADMIN_DEFAULT_PASSWORD= # default to ADMIN_PASSWORD
@ -43,6 +44,8 @@ POSTGRES_PASSWORD=rootpassword
# hasura
######
# HASURA_PORT= # default to 8080
# HASURA_CONSOLE_PORT= # default to 9695
# HASURA_GRAPHQL_ADMIN_SECRET= # default to ADMIN_PASSWORD
######
@ -50,6 +53,7 @@ POSTGRES_PASSWORD=rootpassword
######
N8N_DB=n8n
# N8N_PORT= # default to 8080
# N8N_BASIC_AUTH_USER= # default to ADMIN_USER
# N8N_BASIC_AUTH_PASSWORD= # default to ADMIN_PASSWORD
# N8N_WEBHOOK_URL=
@ -59,9 +63,11 @@ N8N_DB=n8n
######
UMAMI_DB=umami
# UMAMI_PORT= # default to 3000
######
# listmonk
######
LISTMONK_DB=listmonk
LISTMONK_DB=listmonk
# LISTMONK_PORT= # default to 9000

View File

@ -4,7 +4,8 @@ services:
image: hasura/graphql-engine:v2.13.0.cli-migrations-v3
restart: always
ports:
- 8080:8080
- ${HASURA_PORT:-8080}:8080
- ${HASURA_CONSOLE_PORT:-9695}:8080
depends_on:
postgres:
condition: service_healthy

View File

@ -4,7 +4,7 @@ services:
image: listmonk/listmonk:latest
restart: always
ports:
- 9000:9000
- ${LISTMONK_PORT:-9000}:9000
depends_on:
postgres:
condition: service_healthy

View File

@ -39,7 +39,7 @@ services:
container_name: $APP_NAME-n8n
command: /bin/sh -c "n8n start --tunnel"
ports:
- 5678:5678
- ${N8N_PORT:-5678}:5678
n8n-worker:
<<: *shared

View File

@ -6,7 +6,7 @@ services:
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL:-$ADMIN_MAIL}
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD:-$ADMIN_PASSWORD}
ports:
- 5050:80
- ${PGADMIN_PORT:-80}:80
restart: always
depends_on:
postgres:

View File

@ -2,7 +2,7 @@ services:
umami:
image: ghcr.io/umami-software/umami:postgresql-latest
ports:
- 3333:3000
- ${UMAMI_PORT:-3000}:3000
environment:
DATABASE_URL: postgres://${POSTGRES_NON_ROOT_USER:-$ADMIN_USER}:${POSTGRES_NON_ROOT_PASSWORD:-$POSTGRES_PASSWORD}@postgres:5432/${UMAMI_DB:-umami}
DATABASE_TYPE: postgresql