All checks were successful
Implement a stateless Go service that routes /api/v1/send_push and /api/v1/ack by platform prefix to configured backends, enabling mixed official and custom mobile clients on a single PushNotificationServer URL. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
712 B
YAML
24 lines
712 B
YAML
services:
|
|
router:
|
|
build:
|
|
context: .
|
|
dockerfile: Containerfile.dev
|
|
image: git.nakama.town/fmartingr/mattermost-push-proxy-router:latest
|
|
container_name: mattermost-push-proxy-router
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8066:8066"
|
|
volumes:
|
|
- ./config/router.toml:/config/router.toml:ro
|
|
environment:
|
|
- CONFIG_FILE=/config/router.toml
|
|
|
|
bubbles-proxy:
|
|
image: mattermost/mattermost-push-proxy:latest
|
|
container_name: bubbles-push-proxy
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8067:8067"
|
|
volumes:
|
|
- ./config/mattermost-push-proxy.json:/config/mattermost-push-proxy.json:ro
|
|
command: ["-config", "/config/mattermost-push-proxy.json"]
|