mirror of
https://github.com/anthonyraymond/joal.git
synced 2024-09-20 07:16:26 +08:00
Adding docker-compose v2 schemas
This commit is contained in:
parent
1b06d31322
commit
ee27f9aa09
20
README.md
20
README.md
|
@ -67,6 +67,26 @@ docker run -d \
|
|||
--joal.ui.path.prefix="SECRET_OBFUSCATION_PATH" \
|
||||
--joal.ui.secret-token="SECRET_TOKEN"
|
||||
```
|
||||
Compatible with docker-compose v2 schemas.
|
||||
```
|
||||
version: "2"
|
||||
services:
|
||||
youtube-dl:
|
||||
image: anthonyraymond/joal
|
||||
container_name: joal
|
||||
environment:
|
||||
- joal-conf=/data
|
||||
- spring.main.web-environment=true
|
||||
- server.port=PORT
|
||||
- joal.ui.path.prefix=SECRET_OBFUSCATION_PATH
|
||||
- joal.ui.secret-token=SECRET_TOKEN
|
||||
volumes:
|
||||
- PATH_TO_CONF:/data
|
||||
ports:
|
||||
- PORT:PORT
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
Multiple architectures are available at https://hub.docker.com/r/anthonyraymond/joal.
|
||||
If you want to run on arm (raspberry) replace `anthonyraymond/joal` with `anthonyraymond/joal:X.X.X-arm` where X.X.X are the desired version of joal.
|
||||
|
||||
|
|
Loading…
Reference in a new issue