Skip to content

Commit

Permalink
CICD: Add volumes to mount with server directory. (for attachment)
Browse files Browse the repository at this point in the history
  • Loading branch information
huGgW committed Sep 2, 2023
1 parent c976e84 commit d01df3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ services:
PROFILE: ${PROFILE}
ports:
- 8080:8080
volumes:
- ./mainImage:/app/mainImage
- ./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}
Expand All @@ -25,6 +28,9 @@ services:
# PROFILE: ${PROFILE}
# ports:
# - 8081:8080
# volumes:
# - ./mainImage:/app/mainImage
# - ./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}
Expand Down

0 comments on commit d01df3a

Please sign in to comment.