docker-flare/example/login/docker-compose.yml
2022-02-23 10:36:57 +08:00

23 lines
723 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: '3.6'
services:
flare:
image: soulteary/flare:0.3.1
restart: always
# 默认无需添加任何参数,如有特殊需求
# 可阅读文档 https://github.com/soulteary/docker-flare/blob/main/docs/advanced-startup.md
command: flare
environment:
# 开启登陆
- FLARE_DISABLE_LOGIN=0
# 设置登陆账号
- FLARE_USER=flare
# 指定你自己的账号密码,如未设置 `FLARE_USER`,则会默认生成密码并展示在应用启动日志中
- FLARE_PASS=your_password
ports:
# 根据自己需求设置端口,如需调整访问端口为 8080
# 可参考修改为 `- 8080:5005`
- 5005:5005
volumes:
- ./app:/app