Renaming db container to fit the scheme of other stacks
This commit is contained in:
parent
8e19ba428d
commit
9c5920e81f
@ -6,7 +6,7 @@ services:
|
|||||||
image: ghcr.io/mealie-recipes/mealie:latest
|
image: ghcr.io/mealie-recipes/mealie:latest
|
||||||
container_name: mealie
|
container_name: mealie
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db_pg17:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
@ -25,7 +25,7 @@ services:
|
|||||||
POSTGRES_PASSWORD: ${DATABASE_PASS}
|
POSTGRES_PASSWORD: ${DATABASE_PASS}
|
||||||
# Backend ENV Variables
|
# Backend ENV Variables
|
||||||
DB_ENGINE: postgres
|
DB_ENGINE: postgres
|
||||||
POSTGRES_SERVER: db
|
POSTGRES_SERVER: db_pg17
|
||||||
POSTGRES_PORT: 5432
|
POSTGRES_PORT: 5432
|
||||||
ALLOW_SIGNUP: False
|
ALLOW_SIGNUP: False
|
||||||
TZ: Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
@ -53,9 +53,9 @@ services:
|
|||||||
- OIDC_USER_GROUP
|
- OIDC_USER_GROUP
|
||||||
- OIDC_ADMIN_GROUP
|
- OIDC_ADMIN_GROUP
|
||||||
|
|
||||||
db:
|
db_pg17:
|
||||||
container_name: mealie_db
|
|
||||||
image: postgres:17
|
image: postgres:17
|
||||||
|
container_name: mealie_db_pg17
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD-SHELL", "pg_isready -d `cat $$POSTGRES_DB_FILE` -U `cat $$POSTGRES_USER_FILE`" ]
|
test: [ "CMD-SHELL", "pg_isready -d `cat $$POSTGRES_DB_FILE` -U `cat $$POSTGRES_USER_FILE`" ]
|
||||||
@ -64,7 +64,7 @@ services:
|
|||||||
retries: 5
|
retries: 5
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data
|
- db_pg17:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
environment:
|
environment:
|
||||||
@ -78,9 +78,9 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
data:
|
||||||
name: data_mealie
|
name: mealie_data
|
||||||
db:
|
db_pg17:
|
||||||
name: db_mealie
|
name: mealie_db_pg17
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user