mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 17:35:54 +03:00
[PR #169] [MERGED] Resolving docker services using configured DPS domain. #312
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#312
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mageddo/dns-proxy-server/pull/169
Author: @imartinezortiz
Created: 11/5/2019
Status: ✅ Merged
Merged: 1/3/2020
Merged by: @mageddo
Base:
master← Head:docker-service-dps-domain📝 Commits (1)
0119da0Resolving docker services using configured DPS domain.📊 Changes
2 files changed (+4 additions, -3 deletions)
View changed files
📝
events/docker/docker.go(+1 -1)📝
events/docker/docker_test.go(+3 -2)📄 Description
Currently to resolve docker service names, DPS always add ".docker" suffix to the docker service name, I guess because this is the default DPS domain.
This PR modifies this behavior to use the configured DPS domain instead of the default "docker" domain.
Tests have been modified to reflect the docker-compose behavior of adding "_1" to the container name created for a docker service.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.