try fixing error
This commit is contained in:
parent
a969ce810a
commit
3b4aa7e4fc
|
@ -7,8 +7,6 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- ${APP_PORT}:80
|
- ${APP_PORT}:80
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -56,12 +54,7 @@ services:
|
||||||
image: postgres:15
|
image: postgres:15
|
||||||
container_name: db
|
container_name: db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=${DB_NAME}
|
|
||||||
- POSTGRES_USER=${DB_USER}
|
|
||||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
|
||||||
- DB_DRIVER=pdo_pgsql
|
- DB_DRIVER=pdo_pgsql
|
||||||
- DB_NAME=koillection
|
- DB_NAME=koillection
|
||||||
- DB_HOST=db
|
- DB_HOST=db
|
||||||
|
@ -69,6 +62,10 @@ services:
|
||||||
- DB_USER=root
|
- DB_USER=root
|
||||||
- DB_PASSWORD=root
|
- DB_PASSWORD=root
|
||||||
- DB_VERSION=15
|
- DB_VERSION=15
|
||||||
|
- POSTGRES_DB=${DB_NAME}
|
||||||
|
- POSTGRES_USER=${DB_USER}
|
||||||
|
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ${APP_DATA_DIR}/data/volumes/postgresql:/var/lib/postgresql/data
|
- ${APP_DATA_DIR}/data/volumes/postgresql:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
|
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Loading…
Reference in New Issue
Block a user