Skip to content

Instantly share code, notes, and snippets.

@mafei-dev
Created October 31, 2022 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mafei-dev/e4a2f9e54ebf471c58c291e79753fac6 to your computer and use it in GitHub Desktop.
Save mafei-dev/e4a2f9e54ebf471c58c291e79753fac6 to your computer and use it in GitHub Desktop.
StackSaga Admin Server docker-run script
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