1 # This file is for development work. Not suitable for production.
5 # anuko_tt is a web application built as per Dockerfile specification.
8 image: anuko_timetracker:dev
9 container_name: anuko-timetracker
10 # Use localhost:8080 to connect to timetracker via browser.
14 # anuko_sql is a mariadb instance to which timetracker connects.
15 # Connect parameters are also specified in timetracker Dockerfile after
16 # creation of its configuration file. Specifically, we replace
17 # user name, password, service name (aka resolvable to IP server name
18 # where mariadb runs), and database name there from the defaults.
19 # These two sets of credentials must match for a successful connect.
21 image: "mariadb:latest"
22 container_name: anuko-sql
24 MYSQL_RANDOM_ROOT_PASSWORD: "yes"
25 MYSQL_DATABASE: timetracker
26 MYSQL_USER: anuko_user
27 MYSQL_PASSWORD: anuko_pw
29 - db-data:/var/lib/mysql