automated push from the terminal
This commit is contained in:
35
compose.yaml
35
compose.yaml
@@ -86,23 +86,34 @@ services:
|
||||
|
||||
- POSTGRES_PASSWORD=maverickdb
|
||||
|
||||
## volumes:
|
||||
##
|
||||
## - /tmp/volume-data-postgres:/var/lib/postgresql/data
|
||||
volumes:
|
||||
|
||||
- /tmp/volume-data-postgres:/var/lib/postgresql/data
|
||||
|
||||
healthcheck:
|
||||
|
||||
test: ["CMD-SHELL", "pg_isready -U maverickdb -d maverickdb"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
card-players-unite-pgadmin:
|
||||
|
||||
user: root # Or your specific UID:GID
|
||||
container_name: card-players-unite-pgadmin
|
||||
|
||||
image: dpage/pgadmin4
|
||||
|
||||
depends_on:
|
||||
|
||||
- card-players-unite-postgres
|
||||
card-players-unite-postgres:
|
||||
condition: service_healthy # THIS TELLS DOCKER TO WAIT FOR THE HEALTHCHECK
|
||||
|
||||
ports:
|
||||
|
||||
- "5480:80"
|
||||
- 5480:80
|
||||
|
||||
volumes:
|
||||
|
||||
- /tmp/volumes/pgadmin4444:/var/lib/pgadmin
|
||||
|
||||
environment:
|
||||
|
||||
@@ -110,10 +121,6 @@ services:
|
||||
|
||||
PGADMIN_DEFAULT_PASSWORD: maverickdb
|
||||
|
||||
## volumes:
|
||||
##
|
||||
## - /tmp/volume-data-pgadmin4:/var/lib/pgadmin
|
||||
|
||||
##########################################
|
||||
##
|
||||
## hosting / relational data
|
||||
@@ -124,7 +131,7 @@ services:
|
||||
|
||||
container_name: apis.cardplayersunited.com
|
||||
|
||||
image: dpage/pgadmin4
|
||||
image: dpage/apis.cardplayersunited.com
|
||||
|
||||
build:
|
||||
|
||||
@@ -135,8 +142,8 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
depends_on:
|
||||
|
||||
- card-players-unite-postgres
|
||||
card-players-unite-postgres:
|
||||
condition: service_healthy # THIS TELLS DOCKER TO WAIT FOR THE HEALTHCHECK
|
||||
|
||||
ports:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user