Created
October 31, 2022 11:56
-
-
Save mafei-dev/e4a2f9e54ebf471c58c291e79753fac6 to your computer and use it in GitHub Desktop.
StackSaga Admin Server docker-run script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d \ | |
-p 4444:4444 \ | |
-e DB_URL=jdbc:mysql://localhost:3306/stacksaga_admin_db?createDatabaseIfNotExist=true \ | |
-e DB_R2DBC_URL=r2dbc:mysql://localhost:3306/stacksaga_admin_db \ | |
-e DB_USERNAME=root \ | |
-e DB_PASSWORD=*** \ | |
-e DROP_FIRST_DB=your-config \ | |
-e SECRET=*** \ | |
-e TOKEN_EXPIRATION_TIME=60000 \ | |
--name stacksaga-admin-server \ | |
stacksaga/stacksaga_admin_mysql:1.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment