version: '3.7'
services:
- # anuko_tt is a web application built as per Dockerfile specification.
+ # anuko_tt is a web application built as per dockerfile specification.
anuko_tt:
build:
context: .
- "8080:80"
# anuko_db is a mariadb instance to which timetracker connects.
- # Connect parameters are also specified in timetracker Dockerfile after
+ # Connect parameters are also specified in timetracker dockerfile after
# creation of its configuration file. Specifically, we replace
# user name, password, service name (aka resolvable to IP server name
# where mariadb runs), and database name there from the defaults.
MYSQL_USER: anuko_user
MYSQL_PASSWORD: anuko_pw
volumes:
- - database:/var/lib/mysql
+ - anuko_db:/var/lib/mysql
volumes:
- database:
\ No newline at end of file
+ anuko_db:
\ No newline at end of file