Skip to content

Instantly share code, notes, and snippets.

@Ashoat
Created June 2, 2022 13:54
Show Gist options
  • Save Ashoat/ebdd3ae0832a10a950d5f3c8f06f3feb to your computer and use it in GitHub Desktop.
Save Ashoat/ebdd3ae0832a10a950d5f3c8f06f3feb to your computer and use it in GitHub Desktop.
ashoat@ashoatmbp2021 [~/src/comm]$ git diff
diff --git a/keyserver/docker-compose.yml b/keyserver/docker-compose.yml
index 4afa27776..afdd531f5 100644
--- a/keyserver/docker-compose.yml
+++ b/keyserver/docker-compose.yml
@@ -20,6 +20,8 @@ services:
depends_on:
- cache
- database
+ volumes:
+ - /Users/ashoat/Downloads/mysqldump:/home/comm/mysqldump
database:
image: mysql:5.7.37-debian
restart: always
@@ -40,6 +42,7 @@ services:
- MYSQL_PASSWORD=$COMM_MYSQL_PASSWORD
volumes:
- mysqldata:/var/lib/mysql
+ - /Users/ashoat/Downloads/backup.sql.gz:/docker-entrypoint-initdb.d/backup.sql.gz
cache:
image: redis:6.2.6-bullseye
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment