File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
src/ansys/acp/core/_server Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ services:
14
14
environment :
15
15
- ANSYSLMD_LICENSE_FILE=${ANSYSLMD_LICENSE_FILE}
16
16
ports :
17
- - " ${PORT_ACP:-50555}:50051"
17
+ - " 127.0.0.1: ${PORT_ACP:-50555}:50051"
18
18
working_dir : /home/container/workdir
19
19
volumes :
20
20
- " acp_data:/home/container/workdir/"
@@ -25,7 +25,7 @@ services:
25
25
restart : unless-stopped
26
26
image : ${IMAGE_NAME_FILETRANSFER:-ghcr.io/ansys/tools-filetransfer:latest}
27
27
ports :
28
- - " ${PORT_FILETRANSFER:-50556}:50000"
28
+ - " 127.0.0.1: ${PORT_FILETRANSFER:-50556}:50000"
29
29
working_dir : /home/container/workdir
30
30
volumes :
31
31
- " acp_data:/home/container/workdir/"
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ services:
8
8
command : ${MAPDL_CMD:--smp -np 1}
9
9
shm_size : ' 4gb'
10
10
ports :
11
- - " ${PYMAPDL_PORT:-50557}:50052"
11
+ - " 127.0.0.1: ${PYMAPDL_PORT:-50557}:50052"
12
12
environment :
13
13
- ANSYSLMD_LICENSE_FILE=${ANSYSLMD_LICENSE_FILE}
14
14
- ANSYS_LOCK="OFF"
15
15
pydpf-composites-server :
16
16
restart : unless-stopped
17
17
image : ${IMAGE_NAME_DPF_COMPOSITES:-ghcr.io/ansys/pydpf-composites:latest}
18
18
ports :
19
- - " ${PYDPF_COMPOSITES_DOCKER_CONTAINER_PORT:-50558}:50052"
19
+ - " 127.0.0.1: ${PYDPF_COMPOSITES_DOCKER_CONTAINER_PORT:-50558}:50052"
20
20
environment :
21
21
- ANSYSLMD_LICENSE_FILE=${ANSYSLMD_LICENSE_FILE}
22
22
- ANSYS_DPF_ACCEPT_LA=${ANSYS_DPF_ACCEPT_LA}
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ def start(self) -> None:
98
98
self ._process = subprocess .Popen ( # nosec B603: documented in 'security_considerations.rst'
99
99
[
100
100
self ._config .binary_path ,
101
- f"--server-address=0.0.0.0 :{ port } " ,
101
+ f"--server-address=localhost :{ port } " ,
102
102
],
103
103
stdout = self ._stdout ,
104
104
stderr = self ._stderr ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services:
5
5
environment :
6
6
- ANSYSLMD_LICENSE_FILE=${ANSYSLMD_LICENSE_FILE}
7
7
ports :
8
- - " ${PORT_ACP:-50555}:50051"
8
+ - " 127.0.0.1: ${PORT_ACP:-50555}:50051"
9
9
working_dir : /home/container/workdir
10
10
volumes :
11
11
- " acp_data:/home/container/workdir/"
@@ -14,7 +14,7 @@ services:
14
14
restart : unless-stopped
15
15
image : ${IMAGE_NAME_FILETRANSFER:-ghcr.io/ansys/tools-filetransfer:latest}
16
16
ports :
17
- - " ${PORT_FILETRANSFER:-50556}:50000"
17
+ - " 127.0.0.1: ${PORT_FILETRANSFER:-50556}:50000"
18
18
working_dir : /home/container/workdir
19
19
volumes :
20
20
- " acp_data:/home/container/workdir/"
You can’t perform that action at this time.
0 commit comments