bsfe_server/docker-compose.yml

25 lines
428 B
YAML
Raw Normal View History

2024-10-28 19:35:35 +03:00
services:
bsfe:
build: .
ports:
2024-10-28 22:04:50 +03:00
- 8012:8080
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
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"]