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' # ports: # - 5432:5432 environment: POSTGRES_USER: bsfe POSTGRES_PASSWORD: Ch@NgEME! POSTGRES_DB: bsfe healthcheck: test: ["CMD", "pg_isready", "-U", "bsfe"]