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

Document docker-compose.yml setup #8

Open
broganboyer opened this issue Jul 17, 2022 · 1 comment
Open

Document docker-compose.yml setup #8

broganboyer opened this issue Jul 17, 2022 · 1 comment

Comments

@broganboyer
Copy link

Hello,

Nice project.

Just wanted to share a docker-compose.yml that could be used as an alternative to all the docker commands. It could be included somehow in the README like many docker image projects do.

version: "3"

services:
    web:
        image: nginx:alpine
        environment:
            - ONIONSERVICE_NAME=web
        networks:
            - faraday
    onion-service:
        image: torservers/onionize
        volumes:
            - /var/run/docker.sock:/tmp/docker.sock:ro
        networks:
            - faraday
            - internet

networks:
    faraday:
        driver_opts:
            com.docker.network.bridge.enable_ip_masquerade: "false"
    internet:
@GenesisAdam
Copy link

@nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants