forked from PluralFlux/PluralFlux
Update compose.yaml
All checks were successful
nodeJS remote worker / build (push) Successful in 46s
All checks were successful
nodeJS remote worker / build (push) Successful in 46s
This commit is contained in:
50
compose.yaml
50
compose.yaml
@@ -1,19 +1,34 @@
|
|||||||
services:
|
services:
|
||||||
main:
|
pluralflux-dev:
|
||||||
image: engineering.sanya.gay/pluralflux/pluralflux-dev
|
image: engineering.sanya.gay/pluralflux/pluralflux-dev:latest
|
||||||
container_name: pluralflux
|
container_name: pluralflux-dev
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- pluralflux-dev-net
|
||||||
|
env_file: "variables.env"
|
||||||
|
pluralflux-prod:
|
||||||
|
image: engineering.sanya.gay/pluralflux/pluralflux:latest
|
||||||
|
container_name: pluralflux-prod
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- pluralflux-net
|
- pluralflux-net
|
||||||
env_file: "secrets.env"
|
env_file: "variables-prod.env"
|
||||||
postgres:
|
postgres-dev:
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
container_name: pluralflux-postgres
|
container_name: pluralflux-dev-postgres
|
||||||
env_file: "secrets.env"
|
env_file: "variables.env"
|
||||||
|
volumes:
|
||||||
|
- pgdataDev:/var/lib/postgresql
|
||||||
|
- ./pgBackup:/mnt/pgBackup
|
||||||
|
networks:
|
||||||
|
- pluralflux-dev-net
|
||||||
|
postgres-prod:
|
||||||
|
image: postgres:latest
|
||||||
|
container_name: pluralflux-prod-postgres
|
||||||
|
env_file: "variables-prod.env"
|
||||||
volumes:
|
volumes:
|
||||||
- pgdata:/var/lib/postgresql
|
- pgdata:/var/lib/postgresql
|
||||||
ports:
|
- ./pgBackup/prod/:/mnt/pgBackup/prod
|
||||||
- "5432:5432"
|
|
||||||
networks:
|
networks:
|
||||||
- pluralflux-net
|
- pluralflux-net
|
||||||
pgadmin:
|
pgadmin:
|
||||||
@@ -21,15 +36,24 @@ services:
|
|||||||
container_name: pluralflux-pgadmin
|
container_name: pluralflux-pgadmin
|
||||||
ports:
|
ports:
|
||||||
- "5050:80"
|
- "5050:80"
|
||||||
env_file: "secrets.env"
|
env_file: "variables.env"
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres-dev
|
||||||
|
- postgres-prod
|
||||||
networks:
|
networks:
|
||||||
- pluralflux-net
|
- pluralflux-net
|
||||||
|
- pluralflux-dev-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
|
||||||
|
pluralflux-dev-net:
|
||||||
|
driver: bridge
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
pgdataDev:
|
||||||
|
pgadmindata:
|
||||||
pgdata:
|
pgdata:
|
||||||
secrets:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user