Skip to content

Conversation

@tsgoff
Copy link

@tsgoff tsgoff commented Mar 31, 2025

init

docker run   \
    -p 127.0.0.1:1587:1587 \
    -ti -v /opt/oauth2-proxy/emailproxy.config:/app/emailproxy.config \
    bios/email-oauth2-proxy python -m emailproxy --external-auth --no-gui

daemon:

docker run -d --name emailproxy \
            --restart="always" \
           -p 127.0.0.1:1993:1993 \
           -p 127.0.0.1:1587:1587 \
           -v /opt/oauth2-proxy/emailproxy.config:/app/emailproxy.config \
           bios/email-oauth2-proxy

Create Dockerfile
@simonrob
Copy link
Owner

simonrob commented Apr 4, 2025

Thanks for the PR. This has previous been proposed and not merged (see #100). I don't think the situation has changed, and in fact your suggestion is probably less flexible than the one in the earlier PR as it specifies options within the Dockerfile that may not apply to all setups.

The readme links to an example Docker configuration, which what I've decided to stick to for now.

@simonrob simonrob closed this Apr 4, 2025
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 this pull request may close these issues.

2 participants