2024-10-28 19:35:35 +03:00
|
|
|
services:
|
|
|
|
bsfe:
|
|
|
|
build: .
|
|
|
|
|
|
|
|
ports:
|
2024-10-28 22:04:50 +03:00
|
|
|
- 8012:8080
|
2024-11-13 11:38:32 +03:00
|
|
|
- 8282:8282
|
2024-10-28 19:35:35 +03:00
|
|
|
depends_on:
|
|
|
|
- database
|
2024-10-31 07:52:37 +03:00
|
|
|
restart: on-failure
|
2024-10-28 22:04:50 +03:00
|
|
|
volumes:
|
|
|
|
- ./data/temp:/temp
|
|
|
|
- ./data/uploads:/uploads
|
2024-10-28 19:35:35 +03:00
|
|
|
database:
|
|
|
|
image: 'postgres:15'
|
|
|
|
|
|
|
|
# ports:
|
|
|
|
# - 5432:5432
|
2024-11-13 19:36:55 +03:00
|
|
|
volumes:
|
|
|
|
- ./data/db:/var/lib/postgresql
|
2024-10-28 19:35:35 +03:00
|
|
|
environment:
|
|
|
|
POSTGRES_USER: bsfe
|
|
|
|
POSTGRES_PASSWORD: Ch@NgEME!
|
|
|
|
POSTGRES_DB: bsfe
|
2024-10-31 07:52:37 +03:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "pg_isready", "-U", "bsfe"]
|