feat: config ports in .env
This commit is contained in:
parent
fadc12e596
commit
83ea3e1455
|
@ -35,6 +35,7 @@ POSTGRES_PASSWORD=rootpassword
|
||||||
# pgadmin
|
# pgadmin
|
||||||
######
|
######
|
||||||
|
|
||||||
|
# PGADMIN_PORT= # default to 80
|
||||||
# PGADMIN_DEFAULT_MAIL= # default to ADMIN_MAIL
|
# PGADMIN_DEFAULT_MAIL= # default to ADMIN_MAIL
|
||||||
# PGADMIN_DEFAULT_PASSWORD= # default to ADMIN_PASSWORD
|
# PGADMIN_DEFAULT_PASSWORD= # default to ADMIN_PASSWORD
|
||||||
|
|
||||||
|
@ -43,6 +44,8 @@ POSTGRES_PASSWORD=rootpassword
|
||||||
# hasura
|
# hasura
|
||||||
######
|
######
|
||||||
|
|
||||||
|
# HASURA_PORT= # default to 8080
|
||||||
|
# HASURA_CONSOLE_PORT= # default to 9695
|
||||||
# HASURA_GRAPHQL_ADMIN_SECRET= # default to ADMIN_PASSWORD
|
# HASURA_GRAPHQL_ADMIN_SECRET= # default to ADMIN_PASSWORD
|
||||||
|
|
||||||
######
|
######
|
||||||
|
@ -50,6 +53,7 @@ POSTGRES_PASSWORD=rootpassword
|
||||||
######
|
######
|
||||||
|
|
||||||
N8N_DB=n8n
|
N8N_DB=n8n
|
||||||
|
# N8N_PORT= # default to 8080
|
||||||
# N8N_BASIC_AUTH_USER= # default to ADMIN_USER
|
# N8N_BASIC_AUTH_USER= # default to ADMIN_USER
|
||||||
# N8N_BASIC_AUTH_PASSWORD= # default to ADMIN_PASSWORD
|
# N8N_BASIC_AUTH_PASSWORD= # default to ADMIN_PASSWORD
|
||||||
# N8N_WEBHOOK_URL=
|
# N8N_WEBHOOK_URL=
|
||||||
|
@ -59,9 +63,11 @@ N8N_DB=n8n
|
||||||
######
|
######
|
||||||
|
|
||||||
UMAMI_DB=umami
|
UMAMI_DB=umami
|
||||||
|
# UMAMI_PORT= # default to 3000
|
||||||
|
|
||||||
######
|
######
|
||||||
# listmonk
|
# listmonk
|
||||||
######
|
######
|
||||||
|
|
||||||
LISTMONK_DB=listmonk
|
LISTMONK_DB=listmonk
|
||||||
|
# LISTMONK_PORT= # default to 9000
|
|
@ -4,7 +4,8 @@ services:
|
||||||
image: hasura/graphql-engine:v2.13.0.cli-migrations-v3
|
image: hasura/graphql-engine:v2.13.0.cli-migrations-v3
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- ${HASURA_PORT:-8080}:8080
|
||||||
|
- ${HASURA_CONSOLE_PORT:-9695}:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
|
@ -4,7 +4,7 @@ services:
|
||||||
image: listmonk/listmonk:latest
|
image: listmonk/listmonk:latest
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 9000:9000
|
- ${LISTMONK_PORT:-9000}:9000
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
|
@ -39,7 +39,7 @@ services:
|
||||||
container_name: $APP_NAME-n8n
|
container_name: $APP_NAME-n8n
|
||||||
command: /bin/sh -c "n8n start --tunnel"
|
command: /bin/sh -c "n8n start --tunnel"
|
||||||
ports:
|
ports:
|
||||||
- 5678:5678
|
- ${N8N_PORT:-5678}:5678
|
||||||
|
|
||||||
n8n-worker:
|
n8n-worker:
|
||||||
<<: *shared
|
<<: *shared
|
||||||
|
|
|
@ -6,7 +6,7 @@ services:
|
||||||
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL:-$ADMIN_MAIL}
|
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL:-$ADMIN_MAIL}
|
||||||
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD:-$ADMIN_PASSWORD}
|
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD:-$ADMIN_PASSWORD}
|
||||||
ports:
|
ports:
|
||||||
- 5050:80
|
- ${PGADMIN_PORT:-80}:80
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
|
|
|
@ -2,7 +2,7 @@ services:
|
||||||
umami:
|
umami:
|
||||||
image: ghcr.io/umami-software/umami:postgresql-latest
|
image: ghcr.io/umami-software/umami:postgresql-latest
|
||||||
ports:
|
ports:
|
||||||
- 3333:3000
|
- ${UMAMI_PORT:-3000}:3000
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: postgres://${POSTGRES_NON_ROOT_USER:-$ADMIN_USER}:${POSTGRES_NON_ROOT_PASSWORD:-$POSTGRES_PASSWORD}@postgres:5432/${UMAMI_DB:-umami}
|
DATABASE_URL: postgres://${POSTGRES_NON_ROOT_USER:-$ADMIN_USER}:${POSTGRES_NON_ROOT_PASSWORD:-$POSTGRES_PASSWORD}@postgres:5432/${UMAMI_DB:-umami}
|
||||||
DATABASE_TYPE: postgresql
|
DATABASE_TYPE: postgresql
|
||||||
|
|
Loading…
Reference in New Issue