services: ####################################################################### mine-postgres: container_name: mine-postgres image: postgres:17.2-alpine3.21 # image: postgres:16.1-alpine3.18 # image: postgres:12.3-alpine restart: always networks: - postgres-nw # expose: # - '5432' ports: - 21302:5432 volumes: - ${PERSISTANT_STORAGE_PATH}/postgres:/var/lib/postgresql/data environment: TZ: ${TIMEZONE} POSTGRES_PASSWORD: postgres POSTGRES_USER: postgres POSTGRES_DB: postgres ####################################################################### mine-pgadmin: container_name: mine-pgadmin depends_on: - mine-postgres image: dpage/pgadmin4 restart: always networks: - postgres-nw ports: - 21303:80 # volumes: # - ${PERSISTANT_STORAGE_PATH}/nextcloud/pgadmin:/var/lib/pgadmin environment: TZ: ${TIMEZONE} PGADMIN_DEFAULT_EMAIL: postgres@tubano.io PGADMIN_DEFAULT_PASSWORD: postgres PGADMIN_LISTEN_PORT: 80 ####################################################################### networks: postgres-nw: driver: bridge #volumes: # document_data: # document_log: # app_data: # mysql_data: # postgres: # pgadmin: