Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3394002
D3885.id12131.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
628 B
Referenced Files
None
Subscribers
None
D3885.id12131.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
@@ -12,6 +12,17 @@
REDIS_URL: redis://cache
depends_on:
- cache
+ - database
+ database:
+ image: mysql:5.7.37-debian
+ restart: always
+ expose:
+ - "3306"
+ # There is no M1 build on Docker Hub, so we force x64
+ # This is what we want in production anyways. M1 devs will have it emulated
+ platform: linux/amd64
+ environment:
+ MYSQL_RANDOM_ROOT_PASSWORD: yes
cache:
image: redis:6.2.6-bullseye
restart: always
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 1, 4:51 PM (20 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2605067
Default Alt Text
D3885.id12131.diff (628 B)
Attached To
Mode
D3885: [keyserver] Add MySQL image to docker-compose.yml
Attached
Detach File
Event Timeline
Log In to Comment