Skip to content

Commit

Permalink
Docker update
Browse files Browse the repository at this point in the history
  • Loading branch information
Waterboy1602 committed Mar 8, 2022
1 parent 65ab95f commit 3d6fc2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ COPY . /app
# Install ans build Addarr requirements, make symlink to redirect logs to stdout
RUN pip install --no-cache-dir -r requirements.txt --upgrade

ENTRYPOINT ["python", "/app/addarr.py"]
ENTRYPOINT ["python", "/app/src/addarr.py"]
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ services:
addarr:
container_name: addarr
image: waterboy1602/addarr
restart: unless-stopped
restart: "no"
network_mode: host
volumes:
- ./config.yaml:/app/config.yaml:ro
- ./chatid.txt:/app/chatid.txt:rw
- ./admin.txt:/app/admin.txt:ro
- ./allowlist.txt:/app/allowlist.txt:ro
- ./logs:/app/logs:rw

0 comments on commit 3d6fc2f

Please sign in to comment.