|
|
|
|
@ -19,19 +19,3 @@ services:
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
|
|
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
|