mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-17 01:55:27 +10:00
tweaking compose to actually work hopefully
This commit is contained in:
13
compose.yaml
13
compose.yaml
@@ -1,9 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
container_name: pluralflux-postgres
|
container_name: pluralflux-postgres
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: /run/secrets/postgres_pwd
|
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_pwd
|
||||||
secrets:
|
secrets:
|
||||||
- postgres_pwd
|
- postgres_pwd
|
||||||
volumes:
|
volumes:
|
||||||
@@ -16,21 +16,18 @@
|
|||||||
- 5050:80
|
- 5050:80
|
||||||
environment:
|
environment:
|
||||||
# Required by pgAdmin
|
# Required by pgAdmin
|
||||||
PGADMIN_DEFAULT_EMAIL: /run/secrets/postgres_email
|
PGADMIN_DEFAULT_EMAIL: pieartsy@pm.me
|
||||||
PGADMIN_DEFAULT_PASSWORD: /run/secrets/postgres_pwd
|
PGADMIN_DEFAULT_PASSWORD_FILE: /run/secrets/postgres_pwd
|
||||||
# Don't require the user to login
|
# Don't require the user to login
|
||||||
PGADMIN_CONFIG_SERVER_MODE: 'False'
|
PGADMIN_CONFIG_SERVER_MODE: 'False'
|
||||||
# Don't require a "master" password after logging in
|
# Don't require a "master" password after logging in
|
||||||
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
|
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
|
||||||
secrets:
|
secrets:
|
||||||
- postgres_pwd
|
- postgres_pwd
|
||||||
- postgres_email
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
postgres_pwd:
|
postgres_pwd:
|
||||||
file: secrets/postgres_password.txt
|
file: ./secrets/postgres-password.txt
|
||||||
postgres_email:
|
|
||||||
file: ./postgres-email.txt
|
|
||||||
|
|||||||
Reference in New Issue
Block a user