mirror of
https://github.com/ordinary-dev/phoenix
synced 2024-09-20 03:40:29 +05:00
Add docker-compose example
This commit is contained in:
parent
1c80794b3f
commit
bbfc1c456e
15
readme.md
15
readme.md
|
@ -11,3 +11,18 @@ Self-hosted start page without the extra stuff.
|
|||
## Configuration
|
||||
Service settings can be set through environment variables.
|
||||
- `PHOENIX_DB_PATH` - path to the sqlite database.
|
||||
|
||||
## Docker-compose example
|
||||
```yml
|
||||
services:
|
||||
phoenix:
|
||||
image: ghcr.io/ordinary-dev/phoenix
|
||||
volumes:
|
||||
- phoenix:/var/lib/phoenix
|
||||
ports:
|
||||
- 80:80
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
phoenix:
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue