mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-19 03:29:37 +02:00
added integration for docker secrets
This commit is contained in:
parent
4c1c0087c7
commit
7a8808df4f
7 changed files with 4242 additions and 13 deletions
|
@ -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
|
||||
|
|
1
.docker/secrets/password
Normal file
1
.docker/secrets/password
Normal file
|
@ -0,0 +1 @@
|
|||
flame_docker_secret_password
|
Loading…
Add table
Add a link
Reference in a new issue