Skip to content

Commit

Permalink
Refactor: Remove unused comments
Browse files Browse the repository at this point in the history
  • Loading branch information
huGgW committed Apr 3, 2024
1 parent 84acfd8 commit 96ea7b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 28 deletions.
12 changes: 6 additions & 6 deletions caddy/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
abort @backend_denied

# Backend
reverse_proxy /api/* host.docker.internal:8080 #host.docker.internal:8081 # For blue/green
reverse_proxy /api/* host.docker.internal:8080

# Old file serving
reverse_proxy /sites/default/files/* host.docker.internal:8080 #host.docker.internal:8081 # For blue/green
reverse_proxy /sites/default/files/* host.docker.internal:8080

# Login
reverse_proxy /oauth2/authorization/idsnucse host.docker.internal:8080 #host.docker.internal:8081 # For blue/green
reverse_proxy /oauth2/authorization/idsnucse host.docker.internal:8080

# Swagger
reverse_proxy /swagger-ui/* host.docker.internal:8080 #host.docker.internal:8081 # For blue/green
reverse_proxy /api-docs/* host.docker.internal:8080 #host.docker.internal:8081 # For blue/green
}
reverse_proxy /swagger-ui/* host.docker.internal:8080
reverse_proxy /api-docs/* host.docker.internal:8080
}
22 changes: 0 additions & 22 deletions docker-compose-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,3 @@ services:
- host.docker.internal:host-gateway
restart: always
image: ghcr.io/wafflestudio/csereal-server/server_image:latest
# TODO: Activate after implementing health check
# blue:
# container_name: csereal_server_blue
# build:
# context: ./
# args:
# PROFILE: ${PROFILE}
# ports:
# - 8081:8080
# volumes:
# - ./cse-files:/app/cse-files
# - ./attachment:/app/attachment
# environment:
# SPRING_DATASOURCE_URL: "jdbc:mysql://host.docker.internal:3306/${MYSQL_DATABASE}?serverTimezone=Asia/Seoul&useSSL=false&allowPublicKeyRetrieval=true"
# SPRING_DATASOURCE_USERNAME: ${MYSQL_USER}
# SPRING_DATASOURCE_PASSWORD: ${MYSQL_PASSWORD}
# OIDC_CLIENT_SECRET_DEV: ${OIDC_CLIENT_SECRET_DEV}
# URL: ${URL}
# extra_hosts:
# - host.docker.internal:host-gateway
# restart: always
# image: ghcr.io/wafflestudio/csereal-server/server_image:latest

0 comments on commit 96ea7b0

Please sign in to comment.