Skip to content

Commit ee9cf0c

Browse files
committed
add to Container.md podman compose run, add IFS value for database entrypoint script
1 parent ed5b4ee commit ee9cf0c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Container.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ If you use Podman, you can either use the same Docker compose plugin or the
1616
[podman-compose](https://github.com/containers/podman-compose/)
1717
utility. The podman cli itself provide a wrapper of one of these two tools through the
1818
[`podman compose` command](https://docs.podman.io/en/latest/markdown/podman-compose.1.html).
19+
Thus you need to use the `podman compose up` command to start the system.
1920

2021
At this point, the documentation will give you `docker compose` commands, but you should be able
2122
to use `podman compose` without any issue.

deployment/database/docker-entrypoint-initdb.d/001-create-database-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#/usr/bin/env sh
22

33
set -euo pipefail
4+
IFS=$'\n\t'
45

56
mysql -uroot -hlocalhost -p"${MYSQL_ROOT_PASSWORD}" <<EOSQL
67
CREATE USER IF NOT EXISTS '${MYSQL_TEST_USER}'@'%' IDENTIFIED BY '${MYSQL_TEST_PASSWORD}';

0 commit comments

Comments
 (0)