Skip to content

Commit

Permalink
Merge pull request #47 from Droptop-Four/main
Browse files Browse the repository at this point in the history
Main
  • Loading branch information
66Bunz authored Nov 14, 2024
2 parents 807b6fe + c2cb18a commit 208e80b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.CR_PAT }}

# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
Expand Down
9 changes: 5 additions & 4 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ services:
bot:
image: ghcr.io/droptop-four/droptop-four-discord-bot:main
volumes:
- ./.env:/droptop_bot/.env:ro
- ./.env.prod:/droptop_bot/.env.prod:ro
- ./.env.local:/droptop_bot/.env.local:ro
- ./.env:/droptop_bot/.env:ro
- ./.env.prod:/droptop_bot/.env.prod:ro
- ./.env.local:/droptop_bot/.env.local:ro
restart: always

watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /root/.docker/config.json:/config.json
- /var/run/docker.sock:/var/run/docker.sock
environment:
WATCHTOWER_NOTIFICATION_URL: "discord://${DISCORD_TOKEN}@${DISCORD_ID}"
WATCHTOWER_NOTIFICATION_TEMPLATE: |-
Expand Down

0 comments on commit 208e80b

Please sign in to comment.