Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add example docker compose with emqx and tinyproxy #11

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions example-docker-compose-with-http-proxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
services:
emqx:
image: emqx/emqx-enterprise:5.8.0
networks:
- tmp
healthcheck:
test: curl --fail mqtt://127.0.0.1:1883/t -d a || exit 1
interval: 10s
timeout: 10s
retries: 3
start_period: 15s
snowflake:
depends_on:
emqx:
condition: service_healthy
tinyproxy:
condition: service_started
image: ghcr.io/emqx/emqx-snowflake-proxy:2.0.3
networks:
- tmp
volumes:
- ./config.edn:/opt/proxy/config.edn:ro
tinyproxy:
image: monokal/tinyproxy
networks:
- tmp
environment:
BASIC_AUTH_USER: user
BASIC_AUTH_PASSWORD: pass
command: ["ANY"]
networks:
tmp:
driver: bridge
name: tmp
enable_ipv6: true
ipam:
driver: default
Loading