forked from PluralFlux/PluralFlux
Compare commits
2 Commits
main
...
LaikaBzko-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a9a0680a4 | ||
|
|
020dd9d54c |
30
compose.yaml
30
compose.yaml
@@ -1,21 +1,18 @@
|
|||||||
services:
|
services:
|
||||||
main:
|
main:
|
||||||
build: .
|
image: engineering.sanya.gay/pluralflux/pluralflux
|
||||||
container_name: pluralflux
|
container_name: pluralflux
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- pluralflux-net
|
- pluralflux-net
|
||||||
|
env_file: "variables.env"
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
container_name: pluralflux-postgres
|
container_name: pluralflux-postgres
|
||||||
environment:
|
env_file: "variables.env"
|
||||||
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_pwd
|
|
||||||
secrets:
|
|
||||||
- postgres_pwd
|
|
||||||
volumes:
|
volumes:
|
||||||
- pgdata:/var/lib/postgresql
|
- pgdata:/var/lib/postgresql
|
||||||
ports:
|
- ./pgBackup:/mnt/pgBackup
|
||||||
- "5432:5432"
|
|
||||||
networks:
|
networks:
|
||||||
- pluralflux-net
|
- pluralflux-net
|
||||||
pgadmin:
|
pgadmin:
|
||||||
@@ -23,24 +20,19 @@ services:
|
|||||||
container_name: pluralflux-pgadmin
|
container_name: pluralflux-pgadmin
|
||||||
ports:
|
ports:
|
||||||
- "5050:80"
|
- "5050:80"
|
||||||
environment:
|
env_file: "variables.env"
|
||||||
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
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
networks:
|
networks:
|
||||||
- pluralflux-net
|
- pluralflux-net
|
||||||
|
volumes:
|
||||||
|
- pgadmindata:/var/lib/pgadmin
|
||||||
|
#- ./pgBackup:/mnt/host
|
||||||
|
# uncomment the above line if you plan to restore / backup dump files from PGAdmin UI
|
||||||
networks:
|
networks:
|
||||||
pluralflux-net:
|
pluralflux-net:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
|
pgadmindata:
|
||||||
secrets:
|
|
||||||
postgres_pwd:
|
|
||||||
file: ./secrets/postgres-password.txt
|
|
||||||
|
|||||||
Reference in New Issue
Block a user