bsfe_server/docker-compose.yml

24 lines
467 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
- 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'
volumes:
- ./data/db:/var/lib/postgresql/data
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"]