Refactor compose/apps.yml to add pgadmin_data volume
This commit is contained in:
+2
-3
@@ -12,6 +12,7 @@ volumes:
|
|||||||
jellyfin_config: {}
|
jellyfin_config: {}
|
||||||
jellyfin_cache: {}
|
jellyfin_cache: {}
|
||||||
pgadmin: {}
|
pgadmin: {}
|
||||||
|
pgadmin_data: {}
|
||||||
privatebin_data: {}
|
privatebin_data: {}
|
||||||
thelounge_data: {}
|
thelounge_data: {}
|
||||||
|
|
||||||
@@ -65,7 +66,6 @@ services:
|
|||||||
|
|
||||||
ghost-db:
|
ghost-db:
|
||||||
image: mysql:8
|
image: mysql:8
|
||||||
container_name: ghost-db
|
|
||||||
security_opt:
|
security_opt:
|
||||||
- seccomp:unconfined
|
- seccomp:unconfined
|
||||||
restart: always
|
restart: always
|
||||||
@@ -81,7 +81,6 @@ services:
|
|||||||
|
|
||||||
ghost-server:
|
ghost-server:
|
||||||
image: ghost
|
image: ghost
|
||||||
container_name: ghost_server
|
|
||||||
cap_add:
|
cap_add:
|
||||||
- CAP_SYS_NICE
|
- CAP_SYS_NICE
|
||||||
security_opt:
|
security_opt:
|
||||||
@@ -182,7 +181,7 @@ services:
|
|||||||
PGADMIN_DEFAULT_EMAIL: "${PGADMIN_DEFAULT_EMAIL}"
|
PGADMIN_DEFAULT_EMAIL: "${PGADMIN_DEFAULT_EMAIL}"
|
||||||
PGADMIN_DEFAULT_PASSWORD: "${PGADMIN_DEFAULT_PASSWORD}"
|
PGADMIN_DEFAULT_PASSWORD: "${PGADMIN_DEFAULT_PASSWORD}"
|
||||||
volumes:
|
volumes:
|
||||||
- pgadmin-data:/var/lib/pgadmin/
|
- pgadmin_data:/var/lib/pgadmin/
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
expose:
|
expose:
|
||||||
- 80
|
- 80
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ services:
|
|||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres
|
||||||
# container_name: postgres
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: ${POSTGRES_DB}
|
POSTGRES_DB: ${POSTGRES_DB}
|
||||||
POSTGRES_USER: ${POSTGRES_USER}
|
POSTGRES_USER: ${POSTGRES_USER}
|
||||||
|
|||||||
Reference in New Issue
Block a user