appstore-1panel/apps/2fauth/5.3.0/docker-compose.yml
renovate[bot] f5398342e5
chore(deps): update 2fauth/2fauth docker tag to v5.3.0 (#2197)
* chore(deps): update 2fauth/2fauth docker tag to v5.3.0

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2024-09-29 16:02:50 +08:00

27 lines
637 B
YAML

services:
2fauth:
image: 2fauth/2fauth:5.3.0
container_name: ${CONTAINER_NAME}
restart: always
ports:
- ${PANEL_APP_PORT_HTTP}:8000/tcp
networks:
- 1panel-network
volumes:
- ./data:/2fauth
environment:
- APP_NAME=${APP_NAME}
- APP_KEY=${APP_KEY}
- APP_URL=${APP_URL}
- 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
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true