Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Fix service running port #15

Merged
merged 10 commits into from
Oct 4, 2023
2 changes: 1 addition & 1 deletion controller/cmd/controllerd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func getPremServicesForRestart(srvcs []string) map[string]int {

for _, v := range premServices {
if v.Running {
svcs[v.Id] = v.RunningPort
svcs[v.Id] = v.DefaultPort
}
}
}
Expand Down
10 changes: 7 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./traefik/letsencrypt:/letsencrypt
- traefik-letsencrypt:/letsencrypt
depends_on:
- dnsd
restart: always
Expand Down Expand Up @@ -51,7 +51,7 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- ./pg-data:/var/lib/postgresql/data
- dnsd-pg-data:/var/lib/postgresql/data
restart: always
authd:
container_name: authd
Expand All @@ -78,4 +78,8 @@ services:

networks:
prem-gateway:
external: true
external: true

volumes:
dnsd-pg-data:
traefik-letsencrypt: