|
||
---|---|---|
.gitlab-ci.yml | ||
Dockerfile | ||
README.md | ||
entrypoint.sh |
README.md
matrix_piped_feed_docker
This is the docker for my matrix_piped_feed project.
Configuration of matrix_piped_feed
Copy config_example.json form the matrix_piped_feed project as config.json in your directory.
Update config.json with your informations (for more informations about the config.json here).
Configuration of docker-compose
Create a docker-compose.yml file in your directory.
Content of docker-compose.yml:
version: '3.5'
services:
matrix_piped_feed:
image: registry.gitlab.com/mageas/matrix_piped_feed_docker
volumes:
- ./config.json:/app/config.json
- database:/app/db
environment:
- UID=1000
- GID=1000
- MATRIX_PIPED_FEED__DATABASE=/app/db/database.db3
volumes:
database:
Explanations of docker-compose:
./config.json:/app/config.json
sync your config with the containerdatabase:/app/sled_db
save your database with the hostUID=1000
change the container user idGID=1000
change the container group idMATRIX_PIPED_FEED__DATABASE=/app/db/database.db3
change de database directory to map it with the host
Check matrix_piped_feed to change the path of the config.json
and database.db3
.
Run the container
docker-compose up -d