Page MenuHomePhabricator

[keyserver] Add facts/secrets folder to .dockerignore
ClosedPublic

Authored by ashoat on May 30 2022, 1:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 11:55 PM
Unknown Object (File)
Mon, Oct 28, 2:49 AM
Unknown Object (File)
Fri, Oct 25, 7:11 AM
Unknown Object (File)
Fri, Oct 25, 7:11 AM
Unknown Object (File)
Fri, Oct 25, 7:11 AM
Unknown Object (File)
Thu, Oct 24, 6:01 AM
Unknown Object (File)
Thu, Oct 24, 5:19 AM
Unknown Object (File)
Oct 5 2024, 1:14 AM

Details

Summary

Following D4102 and D4103, these values get passed into the Docker container via environmental variables. We should avoid any confusion here, and avoid accidentally leaking any secrets.

Test Plan

Create a keyserver/.env file, eg.:

COMM_MYSQL_DATABASE=commdev
COMM_MYSQL_USER=commdev
COMM_MYSQL_PASSWORD=pass

And then make sure the Docker image still works: docker-compose down -v && docker-compose up --build

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable