remove pgadmin
This commit is contained in:
parent
3aedfa3bf0
commit
4fd4d7e13d
|
@ -1,2 +1,2 @@
|
|||
postgresql
|
||||
.postgresql
|
||||
.env
|
||||
|
|
|
@ -15,11 +15,4 @@ POSTGRES_IMAGE=postgres:15.0
|
|||
POSTGRES_DB=auth
|
||||
POSTGRES_PASSWORD=auth
|
||||
POSTGRES_USER=auth
|
||||
POSTGRES_PORT=5402
|
||||
|
||||
# PGADMIN
|
||||
PGADMIN_CONTAINER=v3-auth-pgadmin
|
||||
PGADMIN_IMAGE=dpage/pgadmin4:6.12
|
||||
PGADMIN_EMAIL=it@mobicoop.org
|
||||
PGADMIN_PASSWORD=auth
|
||||
PGADMIN_PORT=8402
|
||||
POSTGRES_PORT=5502
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# custom
|
||||
postgresql
|
||||
.postgresql
|
||||
.env
|
||||
|
||||
# compiled output
|
||||
/dist
|
||||
|
|
|
@ -24,40 +24,22 @@ services:
|
|||
db:
|
||||
container_name: ${POSTGRES_CONTAINER}
|
||||
image: ${POSTGRES_IMAGE}
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
ports:
|
||||
- "${POSTGRES_PORT:-5402}:5432"
|
||||
- "${POSTGRES_PORT:-5502}:5432"
|
||||
volumes:
|
||||
- ./postgresql/.db_data:/var/lib/postgresql/data:rw
|
||||
- .postgresql:/var/lib/postgresql/data:rw
|
||||
networks:
|
||||
v3-network:
|
||||
aliases:
|
||||
- v3-auth-db
|
||||
|
||||
pgadmin:
|
||||
container_name: ${PGADMIN_CONTAINER}
|
||||
image: ${PGADMIN_IMAGE}
|
||||
environment:
|
||||
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_EMAIL}
|
||||
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD}
|
||||
PGADMIN_CONFIG_SERVER_MODE: 'False'
|
||||
ports:
|
||||
- "${PGADMIN_PORT:-8402}:80"
|
||||
volumes:
|
||||
- ./postgresql/.pgadmin_data:/var/lib/pgadmin:rw
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
v3-network:
|
||||
aliases:
|
||||
- v3-auth-pgadmin
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
networks:
|
||||
v3-network:
|
||||
name: v3-network
|
||||
driver: bridge
|
||||
external: true
|
||||
|
||||
|
|
Loading…
Reference in New Issue