Skip to content

Commit

Permalink
Merge pull request #45 from MichiBaum/develop
Browse files Browse the repository at this point in the history
Switch services to use port 443 for HTTPS
  • Loading branch information
MichiBaum authored Oct 26, 2024
2 parents 5c5601a + 0444515 commit c23c1ab
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion admin-service/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
port: 80
port: 443
ssl:
bundle: "server"
client-auth: WANT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
port: 80
port: 443
ssl:
bundle: "server"
client-auth: WANT
Expand Down
2 changes: 1 addition & 1 deletion chess-service/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
port: 80
port: 443
ssl:
bundle: "server"
client-auth: WANT
Expand Down
15 changes: 7 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
environment:
spring_profiles_active: ${SPRING_ACTIVE_PROFILES}
expose:
- "80"
- "443"
volumes:
- /data/ssl:/data/ssl
networks:
Expand All @@ -63,7 +63,7 @@ services:
DATABASE_PASSWORD: ${AUTHENTICATION_DB_PASSWORD}
DATABASE: ${AUTHENTICATION_DB}
expose:
- "80"
- "443"
volumes:
- /data/ssl:/data/ssl
networks:
Expand Down Expand Up @@ -107,7 +107,7 @@ services:
DATABASE_PASSWORD: ${USERMANAGEMENT_DB_PASSWORD}
DATABASE: ${USERMANAGEMENT_DB}
expose:
- "80"
- "443"
volumes:
- /data/ssl:/data/ssl
networks:
Expand Down Expand Up @@ -148,8 +148,7 @@ services:
environment:
spring_profiles_active: ${SPRING_ACTIVE_PROFILES}
ports:
- "80:80"
- "443:80"
- "443:443"
volumes:
- /data/ssl:/data/ssl
networks:
Expand All @@ -174,7 +173,7 @@ services:
environment:
spring_profiles_active: ${SPRING_ACTIVE_PROFILES}
expose:
- "80"
- "443"
volumes:
- /data/ssl:/data/ssl
networks:
Expand Down Expand Up @@ -202,7 +201,7 @@ services:
DATABASE_PASSWORD: ${CHESS_DB_PASSWORD}
DATABASE: ${CHESS_DB}
expose:
- "80"
- "443"
volumes:
- /data/ssl:/data/ssl
networks:
Expand Down Expand Up @@ -246,7 +245,7 @@ services:
DATABASE_PASSWORD: ${FITNESS_DB_PASSWORD}
DATABASE: ${FITNESS_DB}
expose:
- "80"
- "443"
volumes:
- /data/ssl:/data/ssl
networks:
Expand Down
2 changes: 1 addition & 1 deletion fitness-service/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
port: 80
port: 443
ssl:
bundle: "server"
client-auth: WANT
Expand Down
3 changes: 3 additions & 0 deletions gateway-service/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
server:
port: 80

eureka:
client:
service-url:
Expand Down
1 change: 1 addition & 0 deletions gateway-service/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
server:
port: 443
ssl:
bundle: "server"
client-auth: WANT
Expand Down
1 change: 0 additions & 1 deletion gateway-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ server:
shutdown: graceful
undertow:
url-charset: UTF-8
port: 80

spring:
threads:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
port: 80
port: 443
ssl:
bundle: "server"
client-auth: WANT
Expand Down
2 changes: 1 addition & 1 deletion website-service/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
port: 80
port: 443
ssl:
bundle: "server"
client-auth: WANT
Expand Down

0 comments on commit c23c1ab

Please sign in to comment.