-
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.
Updated docker-compose.yml to connect the services between each other
- Loading branch information
1 parent
29edf79
commit f56b3e1
Showing
3 changed files
with
33 additions
and
5 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM alpine:latest | ||
|
||
LABEL maintainer="Lucas Belfanti" | ||
|
||
# Install necessary dependencies | ||
RUN apk update && apk add --no-cache curl \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
# Make HTTP request to /run-migrations/v1 endpoint | ||
CMD ["sh", "-c", "curl -X POST http://app:8090/run-migrations/v1"] | ||
|
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