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, Dec 10, 11:22 PM
Unknown Object (File)
Sat, Nov 30, 10:58 AM
Unknown Object (File)
Thu, Nov 28, 7:36 AM
Unknown Object (File)
Mon, Nov 25, 9:46 AM
Unknown Object (File)
Nov 15 2024, 12:33 PM
Unknown Object (File)
Nov 12 2024, 11:55 PM
Unknown Object (File)
Oct 28 2024, 2:49 AM
Unknown Object (File)
Oct 25 2024, 7:11 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
Branch
ashoat/dockerize_node
Lint
No Lint Coverage
Unit
No Test Coverage