Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimaHoarder committed Jul 19, 2021
2 parents ac179d1 + 9914fa8 commit 63ea203
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ $RECYCLE.BIN/
.sites
*.log
.settings/*
/settings/
extras/OFLogin/geckodriver.exe
extras/OFLogin/chromedriver.exe
extras/OFMetadataFixer/*
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,3 @@ ENV PYTHONUNBUFFERED 1

# Changes to the new user for security reasons.
USER onlyfans

# Specifies the main executable for when the container starts.
CMD [ "python", "./start_ofd.py" ]
24 changes: 24 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: "3.9"

services:
onlyfans:
image: onlyfans:latest
container_name: onlyfans
build:
context: ./
dockerfile: ./Dockerfile
restart: unless-stopped
networks:
- main
stdin_open: true
tty: true
command: python start_ofd.py
volumes:
- ./settings/:/onlyfans/.settings
- ./settings/profiles/:/onlyfans/.profiles
- ./settings/sites/:/onlyfans/.sites

networks:
main:
name: main
driver: bridge
26 changes: 13 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
requests
aiohttp
aiohttp_socks
alembic
beautifulsoup4
urllib3
win32-setctime
python-socks[asyncio]
psutil
python-dateutil
jsonpickle
lxml
mergedeep
jsonpickle
ujson
sqlalchemy==1.4.20
alembic
tqdm
psutil
python-dateutil
python-socks[asyncio]
requests
selenium
selenium-wire==2.1.2
sqlalchemy==1.4.20
tqdm
ujson
urllib3
user_agent
aiohttp
aiohttp_socks
win32-setctime

0 comments on commit 63ea203

Please sign in to comment.