chore(deps): update 2fauth/2fauth docker tag to v5.3.2 (#2385)

* chore(deps): update 2fauth/2fauth docker tag to v5.3.2

* 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>
This commit is contained in:
renovate[bot]
2024-10-27 22:24:11 +08:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> github-action update-app-version
parent 75395a5bfe
commit 065f7df8f7
4 changed files with 1 additions and 1 deletions
+30
View File
@@ -0,0 +1,30 @@
additionalProperties:
formFields:
- default: 2FAuth
envKey: APP_NAME
labelEn: APP NAME
labelZh: 应用名称
required: true
type: text
- default: 8000
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: http://localhost:8000
edit: true
envKey: APP_URL
labelEn: APP URL
labelZh: 外部地址(可以添加为反向代理网站,并启用 HTTPS)
required: true
rule: paramExtUrl
type: text
- default: SomeRandomStringOf32CharsExactly
envKey: APP_KEY
labelEn: APP KEY
labelZh: 加密键
required: true
type: text
View File
+27
View File
@@ -0,0 +1,27 @@
services:
2fauth:
image: 2fauth/2fauth:5.3.2
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
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
chown -R 1000:1000 data