1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-03-23 11:04:49 +00:00

Added V2 from scratch

This commit is contained in:
retspen 2018-09-23 13:17:48 +03:00
parent 5c2232f4e8
commit 6c2925a35d
478 changed files with 21437 additions and 134206 deletions

31
docker-compose.yml Normal file
View file

@ -0,0 +1,31 @@
version: '3.7'
services:
app:
build: .
image: wvcapp:latest
ports:
- "8000:8000"
- "6080:6080"
volumes:
- ./backend:/app
command: python3 -m http.server 9000 --bind 127.0.0.1
environment:
DB_HOST: mariadb
DB_USER: root
DB_PASSWORD: root
DJANGO_SETTINGS_MODULE: webvirtcloud.settings.dev
BROKER_URL: "amqp://guest:guest@rabbitmq:5672"
depends_on:
- rabbitmq
- mariadb
mariadb:
image: mariadb:latest
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
restart: always
rabbitmq:
image: rabbitmq:latest
restart: always