2020-04-27 01:04:58 +02:00
|
|
|
---
|
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: mysql:5
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=password
|
|
|
|
- MYSQL_DATABASE=brigate
|
|
|
|
- MYSQL_USER=brigate
|
|
|
|
- MYSQL_PASSWORD=password
|
|
|
|
volumes:
|
|
|
|
- /var/lib/mysql
|
|
|
|
- ./sql/mysql/:/docker-entrypoint-initdb.d/
|
|
|
|
ports:
|
|
|
|
- 3306:3306
|
|
|
|
|
|
|
|
brigate:
|
|
|
|
build:
|
|
|
|
dockerfile: ./Dockerfile
|
|
|
|
context: .
|
2020-04-28 00:52:41 +02:00
|
|
|
image: unit/centralino_brigate:0.2.0
|
2020-04-27 01:04:58 +02:00
|
|
|
ports:
|
|
|
|
- 8080:8080
|