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