-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1/feat/assignment
- Loading branch information
Showing
49 changed files
with
1,738 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM openjdk:17-slim | ||
EXPOSE 8080 | ||
ARG JAR_FILE | ||
COPY ${JAR_FILE} app.jar | ||
LABEL authors="jks83" | ||
|
||
ENTRYPOINT ["java", "-jar", "/app.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
version: '3' | ||
services: | ||
|
||
mysql: | ||
image: mysql:8.0 | ||
networks: | ||
- solve_network | ||
volumes: | ||
- ./db/conf.d:/etc/mysql/conf.d | ||
- ./db/data:/var/lib/mysql | ||
- ./db/initdb.d:/docker-entrypoint-initdb.d | ||
ports: | ||
- "3306:3306" | ||
environment: | ||
- TZ=Asia/Seoul | ||
- MYSQL_ROOT_PASSWORD=rootpw | ||
- MYSQL_USER=mysqluser | ||
- MYSQL_PASSWORD=mysqlpw | ||
- MYSQL_HOST=localhost | ||
- MYSQL_PORT=3306 | ||
- MYSQL_DATABASE=solve | ||
|
||
solve: | ||
image: solve:0.0.1 | ||
networks: | ||
- solve_network | ||
ports: | ||
- "8080:8080" | ||
depends_on: | ||
- mysql | ||
environment: | ||
- SPRING_DATASOURCE_URL=jdbc:mysql://mysql:3306/solve?useSSL=false&allowPublicKeyRetrieval=true | ||
- SPRING_DATASOURCE_USERNAME=mysqluser | ||
- SPRING_DATASOURCE_PASSWORD=mysqlpw | ||
- SPRING_JPA_HIBERNATE_DDL_AUTO=update | ||
- KAKAO_CLIENT_ID= | ||
- KAKAO_CLIENT_SECRET= | ||
- KAKAO_REDIRECT_URL=http://localhost/kakao/callback | ||
- NAVER_CLIENT_ID= | ||
- NAVER_CLIENT_SECRET= | ||
- NAVER_REDIRECT_URL=naver/callback | ||
|
||
networks: | ||
solve_network: | ||
driver: bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package com.ns.solve.Domain; | ||
|
||
import static com.querydsl.core.types.PathMetadataFactory.*; | ||
|
||
import com.querydsl.core.types.dsl.*; | ||
|
||
import com.querydsl.core.types.PathMetadata; | ||
import javax.annotation.processing.Generated; | ||
import com.querydsl.core.types.Path; | ||
|
||
|
||
/** | ||
* QAssignment is a Querydsl query type for Assignment | ||
*/ | ||
@Generated("com.querydsl.codegen.DefaultEntitySerializer") | ||
public class QAssignment extends EntityPathBase<Assignment> { | ||
|
||
private static final long serialVersionUID = 1428616620L; | ||
|
||
public static final QAssignment assignment = new QAssignment("assignment"); | ||
|
||
public final NumberPath<Long> assignmentId = createNumber("assignmentId", Long.class); | ||
|
||
public final MapPath<String, String, StringPath> caseAccuracy = this.<String, String, StringPath>createMap("caseAccuracy", String.class, String.class, StringPath.class); | ||
|
||
public final StringPath detail = createString("detail"); | ||
|
||
public final StringPath gitRepository = createString("gitRepository"); | ||
|
||
public final NumberPath<Long> membershipId = createNumber("membershipId", Long.class); | ||
|
||
public final NumberPath<Long> problemId = createNumber("problemId", Long.class); | ||
|
||
public QAssignment(String variable) { | ||
super(Assignment.class, forVariable(variable)); | ||
} | ||
|
||
public QAssignment(Path<? extends Assignment> path) { | ||
super(path.getType(), path.getMetadata()); | ||
} | ||
|
||
public QAssignment(PathMetadata metadata) { | ||
super(Assignment.class, metadata); | ||
} | ||
|
||
} | ||
|
Oops, something went wrong.