services: traefik: image: traefik:v3.0 container_name: traefik command: - "--providers.docker=true" - "--providers.docker.exposedbydefault=false" - "--entrypoints.web.address=:80" ports: - "${APP_PORT:-80}:80" volumes: - /var/run/docker.sock:/var/run/docker.sock:ro jaga-be-receptionist.app: build: context: ./docker/sail dockerfile: Dockerfile args: WWWGROUP: "${WWWGROUP:-1000}" image: jaga-be/app extra_hosts: - "host.docker.internal:host-gateway" ports: - "${VITE_PORT:-5173}:${VITE_PORT:-5173}" environment: WWWUSER: "${WWWUSER:-1000}" LARAVEL_SAIL: 1 SAIL_SERVER: "false" XDEBUG_MODE: "${SAIL_XDEBUG_MODE:-off}" XDEBUG_CONFIG: "${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}" IGNITION_LOCAL_SITES_PATH: "${PWD}" SUPERVISOR_PHP_COMMAND: "php -d variables_order=EGPCS /var/www/html/artisan octane:swoole --host=0.0.0.0" SUPERVISOR_PHP_USER: sail XDG_CONFIG_HOME: /var/www/html/config XDG_DATA_HOME: /var/www/html/data restart: ${DOCKER_RESTART_POLICY:-always} volumes: - ".:/var/www/html" - "./storage:/var/www/html/storage" - "./bootstrap/cache:/var/www/html/bootstrap/cache" - jaga-be.app-vendor:/var/www/html/vendor labels: - "traefik.enable=true" - "traefik.http.routers.receptionist.rule=Host(`api.localhost`)" - "traefik.http.routers.receptionist.entrypoints=web" # - "traefik.http.services.receptionist.loadbalancer.server.port=8000" networks: - jaga-be.sail.network depends_on: - jaga-be.redis jaga-be.redis: image: docker.io/library/redis:7.4 restart: ${DOCKER_RESTART_POLICY:-always} container_name: jaga-be.redis ports: - "${REDIS_PORT:-6379}:6379" networks: - jaga-be.sail.network volumes: - ./docker/redis/redis.conf:/usr/local/etc/redis.conf command: [redis-server, /usr/local/etc/redis.conf] user: "redis" networks: jaga-be.sail.network: driver: bridge volumes: jaga-be.app-vendor: