try fixing error
This commit is contained in:
parent
a969ce810a
commit
3b4aa7e4fc
|
@ -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:
|
||||
|
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Loading…
Reference in New Issue
Block a user