separated postgres from pgadmin

history-download
youainti 4 years ago
parent 9dfae547ce
commit 8fbe2c94e9

@ -19,19 +19,3 @@ services:
- aact_pg_database:/var/lib/postgresql/ # this is persistant storage for the database - aact_pg_database:/var/lib/postgresql/ # this is persistant storage for the database
- ./20220201_clinical_trials/postgres_data.dmp:/mnt/host_data/postgres_data.dmp - ./20220201_clinical_trials/postgres_data.dmp:/mnt/host_data/postgres_data.dmp
pgadmin:
container_name: pgadmin4_webservice
image: dpage/pgadmin4
#restart: always
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: root
ports:
- "5050:80"
volumes: #host:container is the format.
#The volume with server login information.
- ./pgadmin4/servers.json:/pgadmin4/servers.json
#Checklist for production
# uncomment restart: always in both services.
# add a python environment to run data collection etc
Loading…
Cancel
Save