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

Added example compose file

This commit is contained in:
krateng 2022-04-10 17:22:38 +02:00
parent 97e1eae386
commit e52f35d65b
3 changed files with 21 additions and 1 deletions

View File

@ -36,6 +36,7 @@ jobs:
with:
context: .
file: Containerfile
#platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

1
.gitignore vendored
View File

@ -4,7 +4,6 @@
*.xcf
/nohup.out
*-old
/*.yml
/pylintrc
.venv/*
/testdata*

20
example-compose.yml Normal file
View File

@ -0,0 +1,20 @@
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"