Skip to content

Commit

Permalink
[fix] docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gol2580 committed Jan 17, 2024
1 parent 0e274a1 commit aa4ef2d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 13 deletions.
13 changes: 0 additions & 13 deletions docker-compose-dev.yml

This file was deleted.

24 changes: 24 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: '3.8'
services:
server:
image: ${DOCKER_USERNAME}/kimgreen
ports:
-8080:8080
restart: always
environment:
DATASOURCE_URL_RDS=${DATASOURCE_URL_RDS}
DATASOURCE_USERNAME_RDS=${DATASOURCE_USERNAME_RDS}
DATASOURCE_PASSWORD_RDS=${DATASOURCE_PASSWORD_RDS}
jwt.secret-key=${jwt.secret-key}
aws.credentials.access-key=${aws.credentials.access-key}
aws.credentials.secret-key=${aws.credentials.secret-key}
aws.region.static=${aws.region.static}
aws.s3.bucket=${aws.s3.bucket}
fcm.url=${fcm.url}
TZ=Asia/Seoul
env_file:
- .env



# docker run -d --name server -e TZ=Asia/Seoul -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/kimgreen
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

@Repository
public interface PostRepository extends JpaRepository<Post, Long> {

}

0 comments on commit aa4ef2d

Please sign in to comment.