services: bsfe: build: . ports: - 8012:8080 - 8282:8282 depends_on: - database restart: on-failure volumes: - ./data/temp:/temp - ./data/uploads:/uploads database: image: 'postgres:15' volumes: - ./data/db:/var/lib/postgresql/data environment: POSTGRES_USER: bsfe POSTGRES_PASSWORD: Ch@NgEME! POSTGRES_DB: bsfe healthcheck: test: ["CMD", "pg_isready", "-U", "bsfe"]