services: app: build: . ports: - "8088:80" volumes: - ./data:/var/www/html/data - ./src:/var/www/html/src - ./public:/var/www/html/public - ./config.php:/var/www/html/config.php # Relay is opt-in via the `relay` profile. Plain `docker compose up` # starts just the app; use `docker compose --profile relay up` when # you want to develop against a local relay instead of a remote one. relay: build: ./relay profiles: ["relay"] ports: - "8081:80" volumes: - ./relay/index.php:/var/www/html/index.php - ./relay/.htaccess:/var/www/html/.htaccess - ./relay/fonts:/var/www/html/fonts - ./relay/inc:/var/www/html/inc - ./relay/ui:/var/www/html/ui - relay-data:/var/www/html/data # Support-relay also opt-in via its own profile. Shares the compose # network with the app so hyprcrd's support plugin can reach it at # `http://support-relay:80` (container-to-container, no host port # needed). Port 8090 is still published so you can open the public # form in a browser. support-relay: build: ./support-relay profiles: ["support"] ports: - "8090:80" volumes: - support-relay-data:/var/www/html/data volumes: relay-data: support-relay-data: