Connecting myself to the given adress i can get the "pong" result from the API.
is the service really looking not "inside" due to 127.0.0.1 ??? so i also tried with my client adress since running freqtrade on my local machine but my config looks like:
"Id": "41f243ac5e59b5f4fc055f431945b28a47e076fec68f23c785b8c936be0d324a",
"Created": "2021-10-17T22:25:43.609797739Z",
"Path": "/fth/ftmetric",
"Args": [
"--pwd",
"/fth",
"--envs",
"/fth/.env.docker"
],
"State": {
"Status": "restarting",
"Running": true,
"Paused": false,
"Restarting": true,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 2,
"Error": "",
"StartedAt": "2021-10-17T22:26:48.935172108Z",
"FinishedAt": "2021-10-17T22:26:48.953706053Z",
"Health": {
"Status": "unhealthy",
"FailingStreak": 0,
"Log": []
}
},
"Image": "sha256:b700bffaf79d67e0da292e590f7dd0220d678e6d644ef724871fa8fcb03efdde",
"ResolvConfPath": "/var/lib/docker/containers/41f243ac5e59b5f4fc055f431945b28a47e076fec68f23c785b8c936be0d324a/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/41f243ac5e59b5f4fc055f431945b28a47e076fec68f23c785b8c936be0d324a/hostname",
"HostsPath": "/var/lib/docker/containers/41f243ac5e59b5f4fc055f431945b28a47e076fec68f23c785b8c936be0d324a/hosts",
"LogPath": "/var/lib/docker/containers/41f243ac5e59b5f4fc055f431945b28a47e076fec68f23c785b8c936be0d324a/41f243ac5e59b5f4fc055f431945b28a47e076fec68f23c785b8c936be0d324a-json.log",
"Name": "/ftmetric",
"RestartCount": 10,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "ft_userdata_default",
"PortBindings": {},
"RestartPolicy": {
"Name": "on-failure",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"DeviceCgroupRules": null,
"DeviceRequests": null,
"KernelMemory": 0,
"KernelMemoryTCP": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/9263036bfcae0acc7bc54da75a8311bdd675b21cb69718108b2f8cad632cdd3f-init/diff:/var/lib/docker/overlay2/0767a8a8ff74895307bbf27cc86b0d7ee3cbaa8268d0c0a913945f751402d431/diff:/var/lib/docker/overlay2/ca9e3451d87329849ba44ac450cde79db54715ca8dbb26e37f8e0f83ec1f6843/diff:/var/lib/docker/overlay2/c6b495106ad2d9f8e2136cac22a1315bc9c688ed12e28e5c68b7ec63abdabd34/diff:/var/lib/docker/overlay2/ba877a38c09c65d784390c739daf02afbd66e82b3419ad4171ee3b7df84c8d8b/diff",
"MergedDir": "/var/lib/docker/overlay2/9263036bfcae0acc7bc54da75a8311bdd675b21cb69718108b2f8cad632cdd3f/merged",
"UpperDir": "/var/lib/docker/overlay2/9263036bfcae0acc7bc54da75a8311bdd675b21cb69718108b2f8cad632cdd3f/diff",
"WorkDir": "/var/lib/docker/overlay2/9263036bfcae0acc7bc54da75a8311bdd675b21cb69718108b2f8cad632cdd3f/work"
},
"Name": "overlay2"
},
"Mounts": [],
"Config": {
"Hostname": "41f243ac5e59",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"FTH_FREQTRADE__PASSWORD=password",
"FTH_FREQTRADE__URL=http://freqtrade:8080",
"FTH_FREQTRADE__USERNAME=username",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": null,
"Healthcheck": {
"Test": [
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:8090/version"
],
"Interval": 60000000000,
"Timeout": 1000000000,
"StartPeriod": 15000000000,
"Retries": 3
},
"Image": "ghcr.io/kamontat/ftmetric",
"Volumes": null,
"WorkingDir": "/fth",
"Entrypoint": [
"/fth/ftmetric",
"--pwd",
"/fth",
"--envs",
"/fth/.env.docker"
],
"OnBuild": null,
"Labels": {
"com.docker.compose.config-hash": "1d6dfce3ecf90d5ab9a1c3500551c4e1ac294a07d375bb21f5d69f4a67b07eef",
"com.docker.compose.container-number": "1",
"com.docker.compose.depends_on": "freqtrade",
"com.docker.compose.image": "sha256:b700bffaf79d67e0da292e590f7dd0220d678e6d644ef724871fa8fcb03efdde",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "ft_userdata",
"com.docker.compose.project.config_files": "D:\\freqtrade\\ft_userdata\\docker-compose.yml",
"com.docker.compose.project.working_dir": "D:\\freqtrade\\ft_userdata",
"com.docker.compose.service": "ftmetric",
"com.docker.compose.version": "2.0.0",
"org.opencontainers.image.created": "2021-09-20T15:45:49Z",
"org.opencontainers.image.revision": "9a02bd3fbed0bb82e7ad949701e26aa66ae2e23d",
"org.opencontainers.image.tag": "v5.0.0-beta.14",
"org.opencontainers.image.title": "ftmetric",
"org.opencontainers.image.version": "5.0.0-beta.14"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "5d8cfddde2f2fbfadd025593b39bea23ee4b0e9e1c5565c803eb2b21e574d84a",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/5d8cfddde2f2",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"ft_userdata_default": {
"IPAMConfig": null,
"Links": null,
"Aliases": [
"ftmetric",
"ftmetric",
"41f243ac5e59"
],
"NetworkID": "0baeeccd8042ce6337b657261033ef05a06a441b9f2ac8a4822b8ed6b53b4123",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
},
"CreatedTime": 1634509543609
}