Skip to content

Commit

Permalink
--no-edit
Browse files Browse the repository at this point in the history
  • Loading branch information
LauroSilveira committed Nov 15, 2023
1 parent 310d8f9 commit 60a077c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ RUN mvn clean package

FROM eclipse-temurin:21-jre-alpine
## Arguments used with github secrets
ARG JWT_SECRET
ARG DATABASE_PRO
ARG DATABASE_TEST
ARG JWT_SECRET

## work directory by default
WORKDIR /alura-flix-api
Expand Down
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: '3.9'
services:
alura_flix_api:
image: "laurocorreia/alura-flix-api:latest"
container_name: "alura_flix_api"
networks:
- compose-brigde
ports:
- 8080:8080
environment:
DATABASE_PRO: ${DATABASE_PRO}
JWT_SECRET: ${JWT_SECRET}
networks:
compose-brigde:
driver: bridge

0 comments on commit 60a077c

Please sign in to comment.