forked from datawhores/OF-Scraper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
29 lines (26 loc) · 951 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: "3"
volumes:
bin:
config:
data:
services:
ofscraper:
container_name: ofscraper
image: datawhores/of-scraper:latest
# build:
# context: .
# dockerfile: Dockerfile
user: "${UID:-1000}:${GID:-1000}"
volumes:
# #change the host mountpoint
- /home/john/.config/ofscraper:/root/.config/ofscraper
stdin_open: true # docker run -i
tty: true # docker run -t
# use the following two lines if you want to interact with the script manually.
# bring the container up with `docker compose up -d` and then run it with
# `docker compose exec -it ofscraper ofscraper --config /ofscraper/config/config.json`
entrypoint: ["/bin/bash"]
command: ["-c", "sleep infinity"]
# alternatively, if you want the script to run automatically with a set or arguments,
# comment out the lines above and instead do something like:
# command: "ofscraper --username ALL --posts all"