28 lines
498 B
YAML
28 lines
498 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
airgate-backend:
|
|
build: ./backend
|
|
ports:
|
|
- "8101:8100"
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- DJANGO_ALLOWED_HOSTS=*
|
|
- CORS_ALLOWED_ORIGINS=http://localhost:5174,http://localhost
|
|
- DB_DIR=/app/data
|
|
volumes:
|
|
- backend-data:/app/data
|
|
restart: unless-stopped
|
|
|
|
airgate-web:
|
|
build: ./frontend
|
|
ports:
|
|
- "5174:80"
|
|
depends_on:
|
|
- airgate-backend
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
backend-data:
|