1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00
maloja/example-compose.yml

21 lines
516 B
YAML
Raw Normal View History

2022-04-10 18:22:38 +03:00
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"