initial setup

This commit is contained in:
2026-02-25 23:18:48 +11:00
parent 7fead5e3d7
commit 77191566e3
2 changed files with 11 additions and 16 deletions

View File

@@ -1,17 +1,15 @@
services:
main:
build: .
image: engineering.sanya.gay/pluralflux/pluralflux-dev
container_name: pluralflux
restart: unless-stopped
networks:
- pluralflux-net
env_file: "secrets.env"
postgres:
image: postgres:latest
container_name: pluralflux-postgres
environment:
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_pwd
secrets:
- postgres_pwd
env_file: "secrets.env"
volumes:
- pgdata:/var/lib/postgresql
ports:
@@ -23,13 +21,7 @@ services:
container_name: pluralflux-pgadmin
ports:
- "5050:80"
environment:
PGADMIN_DEFAULT_EMAIL: code@asterfialla.com
PGADMIN_DEFAULT_PASSWORD_FILE: /run/secrets/postgres_pwd
PGADMIN_CONFIG_SERVER_MODE: 'False'
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
secrets:
- postgres_pwd
env_file: "secrets.env"
depends_on:
- postgres
networks:
@@ -40,7 +32,4 @@ networks:
volumes:
pgdata:
secrets:
postgres_pwd:
file: ./secrets/postgres-password.txt
secrets:

6
secrets.env Normal file
View File

@@ -0,0 +1,6 @@
FLUXER_BOT_TOKEN=<your bot token here>
POSTGRES_PASSWORD=<your postgres password here>
PGADMIN_DEFAULT_EMAIL: <default postgres admin login>
PGADMIN_DEFAULT_PASSWORD: <your postgres password here>
PGADMIN_CONFIG_SERVER_MODE: 'False'
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'