Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3494852
D4103.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
850 B
Referenced Files
None
Subscribers
None
D4103.diff
View Options
diff --git a/keyserver/docker-compose.yml b/keyserver/docker-compose.yml
--- a/keyserver/docker-compose.yml
+++ b/keyserver/docker-compose.yml
@@ -9,7 +9,11 @@
ports:
- "3000:3000"
environment:
- REDIS_URL: redis://cache
+ - REDIS_URL=redis://cache
+ - COMM_MYSQL_HOST
+ - COMM_MYSQL_DATABASE
+ - COMM_MYSQL_USER
+ - COMM_MYSQL_PASSWORD
depends_on:
- cache
- database
@@ -22,7 +26,10 @@
# This is what we want in production anyways. M1 devs will have it emulated
platform: linux/amd64
environment:
- MYSQL_RANDOM_ROOT_PASSWORD: yes
+ - MYSQL_RANDOM_ROOT_PASSWORD=yes
+ - MYSQL_DATABASE=$COMM_MYSQL_DATABASE
+ - MYSQL_USER=$COMM_MYSQL_USER
+ - MYSQL_PASSWORD=$COMM_MYSQL_PASSWORD
cache:
image: redis:6.2.6-bullseye
restart: always
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 6:59 AM (20 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2680849
Default Alt Text
D4103.diff (850 B)
Attached To
Mode
D4103: [keyserver] Add MySQL config to docker-compose.yml
Attached
Detach File
Event Timeline
Log In to Comment