name: card-to-iban services: backend: build: context: ./backend env_file: - ./.env environment: SERVER_ADDR: 0.0.0.0:8080 DATABASE_PATH: /data/card-to-iban.db FRONTEND_ORIGIN: ${FRONTEND_ORIGIN:-http://localhost:3000} ports: - "8080:8080" volumes: - card_to_iban_data:/data healthcheck: test: ["CMD", "wget", "--quiet", "--spider", "http://127.0.0.1:8080/health"] interval: 10s timeout: 3s retries: 5 start_period: 5s frontend: build: context: ./frontend environment: NUXT_PUBLIC_API_BASE_URL: ${NUXT_PUBLIC_API_BASE_URL:-http://localhost:8080} ports: - "3000:3000" depends_on: backend: condition: service_healthy volumes: card_to_iban_data: