try fixing error

This commit is contained in:
Daniere Mathieu 2023-10-01 10:56:05 +02:00
parent a969ce810a
commit 3b4aa7e4fc
2 changed files with 4 additions and 7 deletions

View File

@ -7,8 +7,6 @@ services:
restart: unless-stopped
ports:
- ${APP_PORT}:80
env_file:
- .env
depends_on:
- db
volumes:
@ -56,12 +54,7 @@ services:
image: postgres:15
container_name: db
restart: unless-stopped
env_file:
- .env
environment:
- POSTGRES_DB=${DB_NAME}
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- DB_DRIVER=pdo_pgsql
- DB_NAME=koillection
- DB_HOST=db
@ -69,6 +62,10 @@ services:
- DB_USER=root
- DB_PASSWORD=root
- DB_VERSION=15
- POSTGRES_DB=${DB_NAME}
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASSWORD}
volumes:
- ${APP_DATA_DIR}/data/volumes/postgresql:/var/lib/postgresql/data
networks:

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB