Merge pull request #6156 from gsiv/dev/swarm-ip

Docker: Bind to 0.0.0.0 for Docker Swarm
This commit is contained in:
Gernot Schulz 2021-07-15 10:22:20 +02:00 committed by GitHub
commit 157293530c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,8 @@ services:
- front
- back
ports:
ifelse(EXTERNAL_HTTP_PORT,,,- "127.0.0.1:EXTERNAL_HTTP_PORT:8000")
ifelse(EXTERNAL_HTTPS_PORT,,,- "127.0.0.1:EXTERNAL_HTTPS_PORT:8001")
ifelse(EXTERNAL_HTTP_PORT,,,- "0.0.0.0:EXTERNAL_HTTP_PORT:8000")
ifelse(EXTERNAL_HTTPS_PORT,,,- "0.0.0.0:EXTERNAL_HTTPS_PORT:8001")
deploy:
restart_policy:
condition: on-failure