1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-05 19:05:18 +02:00

docker api

This commit is contained in:
Pablo Ruiz 2021-08-04 22:19:35 +02:00
parent b5ba9856ed
commit b53509aa69
5 changed files with 110 additions and 3 deletions

View file

@ -74,6 +74,7 @@ services:
container_name: flame
volumes:
- <host_dir>:/app/data
- /var/run/docker.sock:/var/sock/docker.sock # Docker socket
ports:
- 5005:5005
restart: unless-stopped
@ -155,6 +156,20 @@ To use search bar you need to type your search query with selected prefix. For e
- Format: `www.domain.com`, `domain.com`, `sub.domain.com`, `local`, `ip`, `ip:port`
- Redirect: `http://{dest}`
### Docker integration
In order to use the Docker integration, each container must have the following labels:
```yml
labels:
- flame.type=application # "app" works too
- flame.name=My container
- flame.url=https://example.com
- flame.icon=icon-name # Optional, default is "docker"
```
And you must have activated the Docker sync option in the settings panel.
### Custom CSS
> This is an experimental feature. Its behaviour might change in the future.