mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-06 20:43:13 +08:00
added integration for docker secrets
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
version: '3'
|
||||
version: "3"
|
||||
|
||||
secrets:
|
||||
password:
|
||||
file: ./secrets/password
|
||||
|
||||
services:
|
||||
flame:
|
||||
image: pawelmalak/flame
|
||||
@@ -7,6 +12,8 @@ services:
|
||||
- /path/to/data:/app/data
|
||||
ports:
|
||||
- 5005:5005
|
||||
secrets:
|
||||
- password
|
||||
environment:
|
||||
- PASSWORD=flame_password
|
||||
- PASSWORD_FILE=/run/secrets/password
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user