Skip to content

Commit

Permalink
Added example compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
krateng committed Apr 10, 2022
1 parent 97e1eae commit e52f35d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*.xcf
/nohup.out
*-old
/*.yml
/pylintrc
.venv/*
/testdata*
Expand Down
20 changes: 20 additions & 0 deletions example-compose.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit e52f35d

Please sign in to comment.