Skip to content

Commit

Permalink
[#29] fix docker compose setup
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyBA committed Jan 24, 2025
1 parent 43ac5da commit cf37cc2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ services:
volumes:
- ./docker-init-db.sql:/docker-entrypoint-initdb.d/init_db.sql

redis:
image: redis

web:
build: .
image: maykinmedia/open-producten:latest
Expand All @@ -21,9 +24,13 @@ services:
- DB_NAME=open_producten
- DB_USER=open_producten
- DB_HOST=db
- CACHE_DEFAULT=redis:6379/0
- CACHE_AXES=redis:6379/0
- DISABLE_2FA=true
# Only allow all hosts for development/testing purposes!
- ALLOWED_HOSTS=*
ports:
- 8000:8000
depends_on:
- db
- redis

0 comments on commit cf37cc2

Please sign in to comment.