We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
Let me just suggest a change in your the docker run command of Unified Views FE from:
docker run --name unified-views -p 8080:8080 --link my-mysql:mysql -v /path/to/lib:/unified-views/lib -v /path/to/dpus:/dpus -e UV_DATABASE_SQL_URL=jdbc:mysql://188.12.34.56:3306/unified_views_db?characterEncoding=utf8 -e UV_DATABASE_SQL_USER=unified_views_user -e UV_DATABASE_SQL_PASSWORD=unified_views_pwd -e MASTER_API_USER=master -e MASTER_API_PASSWORD=mysecretpassword -d tenforce/unified-views
to:
docker run --name unified-views -p 8080:8080 --link my-mysql:mysql -v /path/to/lib:/unified-views/lib -v /path/to/dpus:/dpus -e UV_DATABASE_SQL_URL=jdbc:mysql://mysql:3306/unified_views_db?characterEncoding=utf8 -e UV_DATABASE_SQL_USER=unified_views_user -e UV_DATABASE_SQL_PASSWORD=unified_views_pwd -e MASTER_API_USER=master -e MASTER_API_PASSWORD=mysecretpassword -d tenforce/unified-views
The reason is that you're starting the default name for the BE host is "mysql":
$ docker exec -it backstabbing_hopper less /etc/hosts WARNING: terminal is not fully functional 127.0.0.1 localhost) ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 172.17.0.2 mysql 84687fd5fca8 sleepy_roentgen 172.17.0.3 65a2abc50dff /etc/hosts (END)
Regards,
JMS
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
Let me just suggest a change in your the docker run command of Unified Views FE from:
docker run --name unified-views
-p 8080:8080 --link my-mysql:mysql
-v /path/to/lib:/unified-views/lib
-v /path/to/dpus:/dpus
-e UV_DATABASE_SQL_URL=jdbc:mysql://188.12.34.56:3306/unified_views_db?characterEncoding=utf8
-e UV_DATABASE_SQL_USER=unified_views_user
-e UV_DATABASE_SQL_PASSWORD=unified_views_pwd
-e MASTER_API_USER=master
-e MASTER_API_PASSWORD=mysecretpassword
-d tenforce/unified-views
to:
docker run --name unified-views
-p 8080:8080 --link my-mysql:mysql
-v /path/to/lib:/unified-views/lib
-v /path/to/dpus:/dpus
-e UV_DATABASE_SQL_URL=jdbc:mysql://mysql:3306/unified_views_db?characterEncoding=utf8
-e UV_DATABASE_SQL_USER=unified_views_user
-e UV_DATABASE_SQL_PASSWORD=unified_views_pwd
-e MASTER_API_USER=master
-e MASTER_API_PASSWORD=mysecretpassword
-d tenforce/unified-views
The reason is that you're starting the default name for the BE host is "mysql":
$ docker exec -it backstabbing_hopper less /etc/hosts
WARNING: terminal is not fully functional
127.0.0.1 localhost)
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.17.0.2 mysql 84687fd5fca8 sleepy_roentgen
172.17.0.3 65a2abc50dff
/etc/hosts (END)
Regards,
JMS
The text was updated successfully, but these errors were encountered: