ubiquitous-computing-geo-ti.../docker-compose.yml
Marcel Schwarz 2c7418529b Add dev and prod profile, Add MariaDB connector
Prod is default
Add IDEA Run Configs for DEV (IDEA) and PROD (Docker-Compose)
2020-04-22 19:13:46 +02:00

31 lines
541 B
YAML

version: '3.7'
services:
frontend:
container_name: qbc_frontend
build:
context: ./frontend
ports:
- "8080:80"
depends_on:
- backend
backend:
container_name: qbc_backend
build:
context: ./backend
ports:
- "5000:80"
depends_on:
- db
db:
container_name: qbc_database
restart: always
build:
context: ./sql
volumes:
- "./sql/db-data:/var/lib/mysql"
environment:
MYSQL_DATABASE: geotime
MYSQL_ROOT_PASSWORD: supersecure