services:
2fauth:
image: 2fauth/2fauth:5.6.1
container_name: 2fauth
restart: unless-stopped
ports:
- 8000:8000/tcp
volumes:
- ./data:/2fauth
environment:
- APP_NAME=2FAuth
- APP_KEY=SomeRandomStringOf32CharsExactly
- APP_URL=http://localhost:8000
- IS_DEMO_APP=false
- LOG_CHANNEL=daily
- LOG_LEVEL=notice
- DB_DATABASE="/srv/database/database.sqlite"
- CACHE_DRIVER=file
- SESSION_DRIVER=file
- AUTHENTICATION_GUARD=web-guard
2fauth-proxy:
image: szcq/2fauth-proxy:1.1.2
container_name: 2fauth-proxy
restart: unless-stopped
ports:
- "3745:3000"
volumes:
- ./proxy:/app/data
environment:
- TWOFAUTH_URL=http://2fauth:8000
- [email protected]
- TWOFAUTH_PASSWORD=your-2FAuth-password
- TOKEN_FILE=/app/data/token.json
Content type
Image
Digest
sha256:253fa855e…
Size
46.9 MB
Last updated
8 months ago
docker pull szcq/2fauth-proxy