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:
parent
97e1eae386
commit
e52f35d65b
1
.github/workflows/dockerhub.yml
vendored
1
.github/workflows/dockerhub.yml
vendored
@ -36,6 +36,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: Containerfile
|
file: Containerfile
|
||||||
|
#platforms: linux/amd64,linux/arm64
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,7 +4,6 @@
|
|||||||
*.xcf
|
*.xcf
|
||||||
/nohup.out
|
/nohup.out
|
||||||
*-old
|
*-old
|
||||||
/*.yml
|
|
||||||
/pylintrc
|
/pylintrc
|
||||||
.venv/*
|
.venv/*
|
||||||
/testdata*
|
/testdata*
|
||||||
|
20
example-compose.yml
Normal file
20
example-compose.yml
Normal 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"
|
Loading…
Reference in New Issue
Block a user