Last active
August 6, 2023 17:36
-
-
Save macielti/f84e5b6340c2f9baaf14db512e4cfc13 to your computer and use it in GitHub Desktop.
Datalevin Docker Compose file example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3" | |
| volumes: | |
| datalevin: | |
| services: | |
| datalevin: | |
| image: huahaiy/datalevin | |
| container_name: global_datalevin | |
| restart: always | |
| environment: | |
| - DATALEVIN_PORT=8899 | |
| volumes: | |
| - datalevin:/data | |
| ports: | |
| - 8899:8899 | |
| serveo: | |
| image: alpine | |
| container_name: global_datalevin_serveo | |
| restart: always | |
| links: | |
| - rabbitmq | |
| command: sh -c 'apk add openssh && apk add autossh && mkdir -p /root/.ssh && chmod 0700 /root/.ssh && ssh-keyscan -t rsa serveo.net >> ~/.ssh/known_hosts && autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 5672:rabbitmq:5672 [email protected]' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment