-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (28 loc) · 910 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (28 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
services:
emailproxy:
image: ghcr.io/shopping2go/email-oauth2-proxy-docker:latest
container_name: emailproxy
restart: unless-stopped
volumes:
# Mount /config to persist the configuration and OAuth tokens.
# Option A — named volume (default, works out of the box in Portainer):
- emailproxy-config:/config
# Option B — bind-mount to a specific host directory (comment option A and uncomment below):
# - /srv/emailproxy:/config
ports:
- "1993:1993"
- "1995:1995"
- "1587:1587"
- "2993:2993"
- "2995:2995"
- "2465:2465"
# Uncomment the line below when using LOCAL_SERVER_AUTH for OAuth redirects
# - "8080:8080"
environment:
LOGFILE: "true"
DEBUG: "false"
CACHE_STORE: /config/credstore.config
LOCAL_SERVER_AUTH: "false"
EXTERNAL_AUTH: "false"
volumes:
emailproxy-config: