Hey there!
So I got my companies application running on docker (woohoo, SELinux was in the way, but now its running) but i have no idea how to make it accessable per browser.
As far as I understand it, in the .config file there is the variable to set the URL to, both front-end and back-end.
The browser doesnt find that site, so I guess its something with DNS or hosts or something but i have no idea / clue on what to even google for since I’ve never had my toes in the web apps.
What do you people would look at first to debug this?
Lots of Love y’all
-edit-
All the Containers are UP, no probs.
browser cant resolve the URL in the .config (hiddenlair.tech)
curl GET on the API endpoint:
curl: (6) Could not resolve host: hiddenlair.tech
docker network
[
{
"Name": "booker_default",
"Id": "87db6f008dea7f5ac74b03b0a650c3fd759d45f7427aa29ecd9fabd6831c6c70",
"Created": "2019-01-26T14:10:12.877328188+01:00",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.18.0.0/16",
"Gateway": "172.18.0.1"
}
]
},
"Internal": false,
"Attachable": false,
"Containers": {
"1e5c396a89694a50f5fd59d230fb6fa09420dbbbbfef42508db395ddbc9741ca": {
"Name": "booker_dckr-backup_1",
"EndpointID": "bcfd1bce24d5346cc209487f26dbce10cd7f86a1aebe5f2a8adf09794d120222",
"MacAddress": "02:42:ac:12:00:0e",
"IPv4Address": "172.18.0.14/16",
"IPv6Address": ""
},
"441e6419ec4e8b37b98c6764ed17931dd78e99fa000efa1ed8f862b970b7b65f": {
"Name": "booker_dckr-backend_1",
"EndpointID": "2527beaebe912c49e821a46c89ed0e588d2a6f173536cdcd6c50882c5c8b624c",
"MacAddress": "02:42:ac:12:00:0d",
"IPv4Address": "172.18.0.13/16",
"IPv6Address": ""
},
"608c8075fa3c76770ab6e65676b9132c7c4cd960f2d142517c12d80f8dfe3636": {
"Name": "booker_dckr-mq_1",
"EndpointID": "15cd069d26b63b6603ce04084c8b56158a383bb8f4360ca649fd97f0237e3625",
"MacAddress": "02:42:ac:12:00:05",
"IPv4Address": "172.18.0.5/16",
"IPv6Address": ""
},
"6be56806786cfa02064f23a64d7ba2774a4c035291a1e043bb518317fdf02e2e": {
"Name": "booker_dckr-tika_1",
"EndpointID": "1cbe28eb4459da6c0ce26f966d1d6d361095a5980f9d4675428aac6fc176c866",
"MacAddress": "02:42:ac:12:00:08",
"IPv4Address": "172.18.0.8/16",
"IPv6Address": ""
},
"6d2d4b4688b0797f8751363a5d77bd7fab4b0cd4d5d5e56942b620c4daa17f6b": {
"Name": "booker_dckr-db_1",
"EndpointID": "ae135ddafa48233a58a2516390d1ba347f58df50d65c15bcac3d659232b03205",
"MacAddress": "02:42:ac:12:00:09",
"IPv4Address": "172.18.0.9/16",
"IPv6Address": ""
},
"735b1a65f61bf20879928e3ceefcb11340608af3247bbe1aa0d5ebfc309ea536": {
"Name": "booker_dckr-docs_1",
"EndpointID": "44e7367f1080c457419a1f020df717e275e0a212989d0b3b062a2d8e0839ed21",
"MacAddress": "02:42:ac:12:00:0c",
"IPv4Address": "172.18.0.12/16",
"IPv6Address": ""
},
"82931d385a37dd7b5f75a50035f4146d2afd5d108e71d27f729c4ff17d89704d": {
"Name": "booker_dckr-logstash_1",
"EndpointID": "f64d4f641c528542778a66f2c750aa2533d9ea86360ea3327afb1be686050020",
"MacAddress": "02:42:ac:12:00:03",
"IPv4Address": "172.18.0.3/16",
"IPv6Address": ""
},
"89b3b1cb97a5da7bfacd3a3eee8da275986c247009b03133eb666fe5dc2abb46": {
"Name": "booker_dckr-frontend_1",
"EndpointID": "f8edc44be9d050e43d7fb24955d1dbe683650b77ea37951012d3d232c86fbf4a",
"MacAddress": "02:42:ac:12:00:06",
"IPv4Address": "172.18.0.6/16",
"IPv6Address": ""
},
"8d27ee5c75116c6100a856690014f57c77a8d029d778746137b12a37516e3f7c": {
"Name": "booker_dckr-kibana_1",
"EndpointID": "52dbed479be7a7061b70f4cdd1de31df0e4d6d98f19e1b4f3688ac4db8e8b1a1",
"MacAddress": "02:42:ac:12:00:04",
"IPv4Address": "172.18.0.4/16",
"IPv6Address": ""
},
"bb18803ab04af84202a6d45f24ee3584b19101d0ae896d18b0f129100c56698d": {
"Name": "booker_dckr-lb_1",
"EndpointID": "706d4c75b61269281093f7ff8297c2374d922a3c38a578ffc9cc4ea08086fd45",
"MacAddress": "02:42:ac:12:00:0f",
"IPv4Address": "172.18.0.15/16",
"IPv6Address": ""
},
"bd5994bb7a0b9c4f2858cb4cdb70155a6f4239f6ff9cb57d2a26add2f22e560c": {
"Name": "booker_dckr-es-logs_1",
"EndpointID": "9150944c9c14d274fe56d5eac05d40e7da658c1556a0edd6f6a91a2fa66d7429",
"MacAddress": "02:42:ac:12:00:02",
"IPv4Address": "172.18.0.2/16",
"IPv6Address": ""
},
"c53a049a46af72091675f171c632096badc315277276de6b926e6b1507fb1f4a": {
"Name": "booker_dckr-redis_1",
"EndpointID": "cd4def26cf1b71141baa89270b1b7344f55d9df37419dfc4deb4e13c8ae1652b",
"MacAddress": "02:42:ac:12:00:0b",
"IPv4Address": "172.18.0.11/16",
"IPv6Address": ""
},
"d35d2cbafc561241825468e3242a700f7c38bfa9e7a4561b2d82fc12a815c308": {
"Name": "booker_dckr-mongo_1",
"EndpointID": "b1f2dcb926dc8561151bd86aca9b72ae304f90a56731f2d074cdbb51eba50620",
"MacAddress": "02:42:ac:12:00:07",
"IPv4Address": "172.18.0.7/16",
"IPv6Address": ""
},
"e3e2f2cdecd40560606f3459639da011a577bfd3b0617453752f1a8de0fcba11": {
"Name": "booker_dckr-es_1",
"EndpointID": "c0a2aebeb5938417a940499fe3202aad61dedce4e649d9329879832ae8ee6775",
"MacAddress": "02:42:ac:12:00:0a",
"IPv4Address": "172.18.0.10/16",
"IPv6Address": ""
},
"f3e9bd1f2b0b6642704e3c79f517ff7520418464f7a5f56c20ff76427aae051b": {
"Name": "booker_dckr-logspout_1",
"EndpointID": "5b859421e2767121f2ae318618a359a0f1b3cd17594e57981dc779eafe83eaf3",
"MacAddress": "02:42:ac:12:00:10",
"IPv4Address": "172.18.0.16/16",
"IPv6Address": ""
}
},
"Options": {},
"Labels": {}
}
]