add docker-compose.yaml for synology deployment
This commit is contained in:
parent
904b45659a
commit
e4c2752335
4 changed files with 20 additions and 1 deletions
4
Makefile
Normal file
4
Makefile
Normal file
|
@ -0,0 +1,4 @@
|
|||
build-docker:
|
||||
docker build . -f ./scrapper/docker/Dockerfile -t metonymy/scrapper
|
||||
upload-docker: build-docker
|
||||
docker push metonymy/scrapper
|
|
@ -26,4 +26,4 @@ WORKDIR /app
|
|||
|
||||
COPY --from=builder /app/target/release/scrapper /app/scrapper
|
||||
|
||||
ENTRYPOINT /app/scrapper
|
||||
ENTRYPOINT ["/app/scrapper"]
|
11
synology/docker-compose.yaml
Normal file
11
synology/docker-compose.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
version: '3.8'
|
||||
services:
|
||||
scraper:
|
||||
image: metonymy/scrapper
|
||||
environment:
|
||||
RUST_LOG: info
|
||||
command:
|
||||
- "--redis-connection-string"
|
||||
- "redis://192.168.0.221:6379"
|
||||
- "--redis-stream-name"
|
||||
- "posts::g4media"
|
4
synology/readme.md
Normal file
4
synology/readme.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Synology
|
||||
|
||||
The synology folder contains files that are meant for deployment purposes on the Synology NAS
|
||||
using the Container Manager.
|
Loading…
Reference in a new issue