Skip to content

Commit 740cca6

Browse files
committed
chore: add an example of command to execute queries in runnin mysql container
[skip ci]
1 parent 2f4dc9d commit 740cca6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

infra/docker/prod.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ services:
3434
# NOTE: it's better to have credentials the same as in .github/workflows/integration-tests-mysql.yml
3535
# and src/main/resources/application-travis.properties
3636
# the generated root password will be printed to stdout (GENERATED ROOT PASSWORD: ...)
37+
#
38+
# Example:
39+
# docker exec -it mystamps_db_1 mysql -u mystamps mystamps -psecret -e 'show tables'
3740
- MYSQL_RANDOM_ROOT_PASSWORD=true
3841
- MYSQL_USER=mystamps
3942
# FIXME: try to use a secret

0 commit comments

Comments
 (0)