services: kompress: container_name: kompress build: context: . dockerfile: Dockerfile extra_hosts: - "host.docker.internal:host-gateway" env_file: - .env.production volumes: - kompress_eshop_data:/usr/app/data networks: - kompress_eshop-net restart: unless-stopped healthcheck: test: ["CMD-SHELL", "curl -fsS http://localhost:5150/_ping"] interval: 30s timeout: 5s retries: 3 start_period: 20s networks: kompress_eshop-net: external: true volumes: kompress_eshop_data: external: true name: kompress_eshop_data