Refactor compose/apps.yml to add pgadmin_data volume

This commit is contained in:
2024-05-30 11:36:02 +08:00
parent 1ac98da285
commit e2784f41fe
2 changed files with 2 additions and 4 deletions
+2 -3
View File
@@ -12,6 +12,7 @@ volumes:
jellyfin_config: {}
jellyfin_cache: {}
pgadmin: {}
pgadmin_data: {}
privatebin_data: {}
thelounge_data: {}
@@ -65,7 +66,6 @@ services:
ghost-db:
image: mysql:8
container_name: ghost-db
security_opt:
- seccomp:unconfined
restart: always
@@ -81,7 +81,6 @@ services:
ghost-server:
image: ghost
container_name: ghost_server
cap_add:
- CAP_SYS_NICE
security_opt:
@@ -182,7 +181,7 @@ services:
PGADMIN_DEFAULT_EMAIL: "${PGADMIN_DEFAULT_EMAIL}"
PGADMIN_DEFAULT_PASSWORD: "${PGADMIN_DEFAULT_PASSWORD}"
volumes:
- pgadmin-data:/var/lib/pgadmin/
- pgadmin_data:/var/lib/pgadmin/
restart: unless-stopped
expose:
- 80
-1
View File
@@ -35,7 +35,6 @@ services:
postgres:
image: postgres
# container_name: postgres
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}