Page MenuHomePhabricator

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

Authored by ashoat on May 30 2022, 1:19 PM.
Tags
None
Referenced Files
F1778363: D4150.diff
Fri, May 17, 12:08 PM
Unknown Object (File)
Wed, May 15, 5:36 AM
Unknown Object (File)
Mon, Apr 22, 7:24 PM
Unknown Object (File)
Mon, Apr 22, 7:24 PM
Unknown Object (File)
Mon, Apr 22, 7:24 PM
Unknown Object (File)
Mon, Apr 22, 7:21 PM
Unknown Object (File)
Apr 15 2024, 5:29 PM
Unknown Object (File)
Apr 4 2024, 9:24 PM

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