Commit 22d7be9d authored by Muhammad Bilal's avatar Muhammad Bilal
Browse files

added hostname in docker-compose

parent 4badb98f
Pipeline #4554 failed with stage
in 3 minutes and 33 seconds
......@@ -6,6 +6,7 @@ services:
- "0.0.0.0:3030:3030"
networks:
- memri-net
hostname: pod
volumes:
- ./data/db:/data/db
- ./data/files:/data/files
......@@ -16,7 +17,7 @@ services:
- "--owners=ANY"
# Note that on a real system, you should not use non-https on 0.0.0.0
- "--insecure-non-tls=0.0.0.0"
- "--plugins-callback-address=http://pod_pod_1:3030"
- "--plugins-callback-address=http://pod:3030"
- "--plugins-docker-network=pod_memri-net"
networks:
......
......@@ -42,7 +42,7 @@ pub struct CliOptions {
/// Set the callback address for plugins launched from within Pod.
/// This should be the Pod-s address as seen by external plugins.
/// It defaults to "pod_pod_1:3030" if Pod is inside docker,
/// It defaults to "pod:3030" if Pod is inside docker,
/// or "localhost:3030" on Linux,
/// or "host.docker.internal:3030" on other operating systems.
#[structopt(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment