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