Skip to content

Commit

Permalink
Merge pull request #169 from DonggeonMoon/dev
Browse files Browse the repository at this point in the history
chore: dockerfile, docker-compose 파일 수정
  • Loading branch information
DonggeonMoon authored Dec 6, 2024
2 parents 8bd1f3b 02437cf commit 0641aaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
FROM openjdk:17-alpine

WORKDIR /app
WORKDIR /usr/src/app

COPY build/libs/*.jar app.jar

Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 1,3 @@
version: '3.8'

services:
nginx:
container_name: nginx
Expand Down Expand Up @@ -34,10 32,12 @@ services:
- "8080:8080"
networks:
- backend
env_file:
- .env
volumes:
- ./deploy:/usr/src/app
- ${JAVA_VOLUME}
working_dir: /usr/src/app
command: [ 'java', '-jar', '/usr/src/app/PSYThinktank-0.0.1.jar' ]
entrypoint: [ 'java', '-jar', 'app.jar' ]
environment:
TZ: "Asia/Seoul"
depends_on:
Expand All @@ -59,7 59,7 @@ services:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- PGDATA=${PGDATA}
volumes:
- "./data:/var/lib/postgresql/data"
- ${POSTGRES_VOLUME}
restart: always
mongo:
container_name: mongo
Expand Down

0 comments on commit 0641aaf

Please sign in to comment.