Skip to content

Commit d5f18e4

Browse files
authored
Merge pull request #135 from jacomago/no-ipv6-listne
Disable listening on ipv6 in the docker compose files.
2 parents 8923bb9 + c73a4b2 commit d5f18e4

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

docker-compose-integrationtest.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ services:
4040
embedded_ldap.enabled: "false"
4141
demo_auth.enabled: "true"
4242
skipITCoverage: "true"
43-
EPICS_PVA_ENABLE_IP6: "false"
43+
EPICS_PVAS_INTF_ADDR_LIST: "0.0.0.0"
4444
command: >
4545
/bin/bash -c "
4646
if [ ${skipITCoverage} == false ]; then
@@ -81,7 +81,3 @@ volumes:
8181
networks:
8282
channelfinder-net:
8383
driver: bridge
84-
enable_ipv6: true
85-
ipam:
86-
config:
87-
- subnet: 2001:0DB8::/112

docker-compose.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ services:
3232
discovery.type: single-node
3333
bootstrap.memory_lock: "true"
3434
xpack.security.enabled: "false"
35+
EPICS_PVAS_INTF_ADDR_LIST: "0.0.0.0"
3536
volumes:
3637
- channelfinder-es-data:/usr/share/elasticsearch/data
3738
volumes:
@@ -41,7 +42,3 @@ volumes:
4142
networks:
4243
channelfinder-net:
4344
driver: bridge
44-
enable_ipv6: true
45-
ipam:
46-
config:
47-
- subnet: 2001:0DB8::/112

src/site/sphinx/config.rst

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,23 @@ The properties checked for setting a PV to be archived are ::
8383
To set the auto pause behaviour, configure the parameter :ref:`aa.auto_pause`. Set to pvStatus to pause on pvStatus=Inactive,
8484
and resume on pvStatus=Active. Set to archive to pause on archive_property_name not existing. Set to both to pause on pvStatus=Inactive and archive_property_name::
8585

86-
aa.auto_pause=pvStatus,archive
86+
aa.auto_pause=pvStatus,archive
87+
88+
89+
EPICS PV Access Server
90+
----------------------
91+
92+
ChannelFinder provides an EPICS PV Access Server to access the api through pvAccess.
93+
There are a number of options that can be set such EPICS_PVA_ADDR_LIST. To see the
94+
full list go to https://github.com/ControlSystemStudio/phoebus/blob/v4.7.3/core/pva/src/main/java/org/epics/pva/PVASettings.java
95+
96+
Since it is common to run ChannelFinder inside a docker container which by default does not support IPv6 you may have
97+
error messages in the logs about launching the EPICS PV Access service. If you only wish to have the EPICS Service available on
98+
IPv4 you can set the environment variable
99+
100+
EPICS_PVAS_INTF_ADDR_LIST="0.0.0.0"
101+
102+
Or to not have the EPICS PV Access Server listen, then:
103+
104+
EPICS_PVAS_INTF_ADDR_LIST="0.0.0.0"
105+

0 commit comments

Comments
 (0)