Now that we can specify MySQL config via environmental variable, we are ready to set it up in Docker Compose.
Depends on D4102
Differential D4103
[keyserver] Add MySQL config to docker-compose.yml ashoat on May 23 2022, 7:28 AM. Authored by Tags None Referenced Files
Details Now that we can specify MySQL config via environmental variable, we are ready to set it up in Docker Compose. Depends on D4102 I created a keyserver/.env file with the following contents: COMM_MYSQL_HOST=database COMM_MYSQL_DATABASE=comm2 COMM_MYSQL_USER=comm2 COMM_MYSQL_PASSWORD=pass2 Then I ran docker-compose down -v && docker-compose up --build. The keyserver still crashed because the database tables weren't created yet, but it was able to connect to MySQL.
Diff Detail
|