init code
This commit is contained in:
16
docker-compose.db.admin.yaml
Normal file
16
docker-compose.db.admin.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
pgadmin:
|
||||
image: dpage/pgadmin4:9.5.0
|
||||
container_name: user_pgadmin
|
||||
ports:
|
||||
- "20001:80"
|
||||
environment:
|
||||
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_EMAIL}
|
||||
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD}
|
||||
TZ: ${TZ}
|
||||
volumes:
|
||||
- ./shared_data/data4pgadmin:/var/lib/pgadmin
|
||||
networks:
|
||||
- user-network
|
||||
depends_on:
|
||||
- postgres # 依赖数据库服务(非必须,仅控制启动顺序)
|
Reference in New Issue
Block a user