Example docker-compose.yml
Dunno if you'd find this useful anywhere in your documentation but this works for me.
version: "3.7"
services:
oniongrok:
image: ghcr.io/cmars/oniongrok:main
## You will need to consider changing the command.
command: "--secrets /data/.local/share/oniongrok/secrets.json sign:80~80@sign"
volumes:
- ./data/:/data/.local/share/oniongrok/
## Demo App, Could be anything.
sign:
image: 'eerotal/libresignage:latest'
volumes:
- ./data/sign:/var/www/html/data'
At some point, I think it might not be a horrible idea to potentially look at making one of these examples that use the Traefik reverse proxy for fun and research. Especially if that example just uses docker labels.
Contributions in examples like this would be great. Never heard of libresignage before -- very interesting use case.
It seems that libresignage is now a dead project thats fully inaccessible. However, just for example purposes one could swap the
## Demo App, Could be anything.
sign:
image: 'eerotal/libresignage:latest'
volumes:
- ./data/sign:/var/www/html/data'
With just about anything, for example a whoami container is a good start or even just a simple container that replies with a json reply with a string in it like this example.
version: "3.7"
services:
oniongrok:
image: ghcr.io/cmars/oniongrok:main
## You will need to consider changing the command.
command: "--secrets /data/.local/share/oniongrok/secrets.json sign:80~80@simplereply"
volumes:
- ./data/:/data/.local/share/oniongrok/
## Demo App, Could be anything.
simplereply:
image: qarlm/static-http-response-server
ports:
- published: 8888
target: 80
protocol: tcp
mode: host
environment:
RESPONSE: "Hello World!"