Skip to content

Commit

Permalink
Pass .env file to docker-compose services
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNaessens committed Jun 9, 2024
1 parent af6b269 commit 35c5bc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ services:
SECRET_AUTH_USERNAME: admin
SECRET_AUTH_PASSWORD: admin-password
RAILS_SERVE_STATIC_FILES: 1
env_file:
- .env

sidekiq:
image: "ghcr.io/zeuswpi/tap:latest"
Expand All @@ -34,6 +36,8 @@ services:
DATABASE_URL: postgresql://postgres:password@db/tap
REDIS_URL: redis://redis:6379
entrypoint: bundle exec sidekiq
env_file:
- .env

redis:
image: redis:7-alpine
Expand Down

0 comments on commit 35c5bc2

Please sign in to comment.