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

Expose autograph container to the host #706

Closed
willdurand opened this issue Nov 20, 2024 · 0 comments · Fixed by #707
Closed

Expose autograph container to the host #706

willdurand opened this issue Nov 20, 2024 · 0 comments · Fixed by #707

Comments

@willdurand
Copy link
Member

In order to use RS localdev with Firefox and the remote-settings-devtools extension, we need to let Firefox access the autograph container. That involves 2 things:

  1. adding 127.0.0.1 autograph to /etc/hosts since RS will return the URL to the cert chain with this host

  2. exposing the port in the docker compose config

    diff --git a/docker-compose.yml b/docker-compose.yml
    index c0c8209..58c3ec9 100644
    --- a/docker-compose.yml
    +++ b/docker-compose.yml
    @@ -25,6 +25,8 @@ services:
         platform: linux/amd64
         image: mozilla/autograph
         user: root
    +    ports:
    +      - 8000:8000
         volumes:
           - autograph-certs:/tmp/autograph
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

Successfully merging a pull request may close this issue.

1 participant