2020-04-07 16:41:26 +02:00
|
|
|
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
|
2020-04-21 11:22:03 +02:00
|
|
|
restart: always
|
2020-04-07 16:41:26 +02:00
|
|
|
build:
|
|
|
|
context: ./sql
|
|
|
|
volumes:
|
|
|
|
- "./sql/db-data:/var/lib/mysql"
|
|
|
|
environment:
|
2020-04-21 11:22:03 +02:00
|
|
|
MYSQL_DATABASE: geotime
|
|
|
|
MYSQL_ROOT_PASSWORD: supersecure
|