init commit
This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
web:
|
||||
build: ./backend
|
||||
command: gunicorn config.wsgi:application --bind 0.0.0.0:8000
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- media_volume:/app/media
|
||||
env_file:
|
||||
- .env.example
|
||||
ports:
|
||||
- "8000:8000"
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
image: postgres:14
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data/
|
||||
env_file:
|
||||
- .env.example
|
||||
volumes:
|
||||
postgres_data:
|
||||
media_volume:
|
||||
Reference in New Issue
Block a user