mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
21 lines
516 B
YAML
21 lines
516 B
YAML
services:
|
|
maloja:
|
|
# from dockerhub
|
|
image: "krateng/maloja:latest"
|
|
# or built locally
|
|
#build:
|
|
# context: .
|
|
# dockerfile: ./Containerfile
|
|
ports:
|
|
- "42010:42010"
|
|
# different directories for configuration, state and logs
|
|
volumes:
|
|
- "$PWD/config:/etc/maloja"
|
|
- "$PWD/data:/var/lib/maloja"
|
|
- "$PWD/logs:/var/log/maloja"
|
|
#you can also have everything together instead:
|
|
#volumes:
|
|
#- "$PWD/data:/data"
|
|
#environment:
|
|
#- "MALOJA_DATA_DIRECTORY=/data"
|