NASA-TEST

This commit is contained in:
2024-05-08 19:29:42 +03:00
parent fb4197cb2d
commit 63f31f7568
57 changed files with 3886 additions and 0 deletions

29
docker-compose.yml Normal file
View File

@@ -0,0 +1,29 @@
version: '3'
services:
db:
build: .
container_name: mysql_django_db
ports:
- "3306:3306"
volumes:
- mysql_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: Ax123456
MYSQL_DATABASE: django_db
MYSQL_USER: django_user
MYSQL_PASSWORD: Ax123456
web:
build: .
container_name: django_app
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/app
ports:
- "8000:8000"
depends_on:
- db
volumes:
mysql_data: