Skip to content

Commit

Permalink
Add configuration for daily-stars service in docker-compose.yaml. (#193
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mms-gianni authored Oct 17, 2024
1 parent fb672dc commit 2cf42ae
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: daily-stars
services:
daily-stars-explorer:
build: .
image: ghcr.io/emanuelef/daily-stars-explorer:latest
ports:
- "8080:8080"
environment:
- HOST=0.0.0.0
- PORT=8080
- REDDIT_CLIENT_ID=your-reddit-client-id
- REDDIT_CLIENT_SECRET=your-reddit-client-secret
- REDDIT_USER_AGENT=your-reddit-user-agent
- REDDIT_USERNAME=your-reddit-username
- REDDIT_PASSWORD=your-reddit-password
- YOUTUBE_API_KEY=your-youtube-api-key
- PAT=your-github-personal-access-token
- PAT2=your-github-personal-access-token
healthcheck:
test: ["CMD", "wget", "-q", "http://127.0.0.1:8080/health", "-O", "-"]
interval: 30s
timeout: 10s
retries: 5
expose:
- "8080"

0 comments on commit 2cf42ae

Please sign in to comment.