robertjstroud
03/19/2024, 11:57 AMgaolei
03/19/2024, 3:00 PMrobertjstroud
03/19/2024, 3:02 PMrobertjstroud
03/19/2024, 5:15 PMgaolei
03/19/2024, 5:32 PMgaolei
03/19/2024, 5:39 PMone-of-the-app-server:
image: openjdk:17
container_name: [my-own-container]
restart: unless-stopped
command: sh /opt/prod/[host_vol]/docker_run_xx_app.sh start
tty: true
ports:
- "8182:8182"
expose:
- 8182
environment:
- "VIRTUAL_HOST=<http://xxx.xxx.com|xxx.xxx.com>"
- "VIRTUAL_PORT=8182"
- "LETSENCRYPT_HOST=<http://xxx.xxx.com|xxx.xxx.com>"
- "LETSENCRYPT_EMAIL=xxxxx_admin@gmail.com"
volumes:
- ./cotainer_vol:/opt/prod/[host_vol]
- ./logs:/opt/prod/logsrobertjstroud
03/19/2024, 5:40 PMgaolei
03/19/2024, 5:42 PMrobertjstroud
03/21/2024, 11:07 AMruntime.groovy configured the server address as 127.0.0.1, which was interpreted relative to the Docker network, so everything was working correctly within the Docker container, but connections from the host disappeared into a black hole.