Skip to content
Snippets Groups Projects
Commit f4df5b9f authored by Hoai Viet Nguyen's avatar Hoai Viet Nguyen
Browse files

intial commit

parents
Branches
No related tags found
No related merge requests found
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,macos
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### macOS Patch ###
# iCloud generated files
*.icloud
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix
### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos
\ No newline at end of file
#Auflistung aller Dienste
services:
#Dienstname bzw. Hostname innerhalb des Netzwerks
nginx:
#Pfad zum Dockerfile für diesen Container
build: ./nginx
#Port-Mapping von außen nach innen
ports:
- 8080:80
apache:
#Basis-Image
image: httpd:2.4
ports:
- 207:80
todolist:
build: ./todolist_spring
ports:
- 8070:8080
\ No newline at end of file
FROM nginx:stable-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY index.html /usr/share/nginx/html/index.html
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello World</title>
</head>
<body>
Hello World from Nginx
</body>
</html>
\ No newline at end of file
server {
listen 80;
server_tokens off;
root /usr/share/nginx/html;
}
\ No newline at end of file
FROM eclipse-temurin:17-jre
RUN useradd --system --user-group app
USER app:app
WORKDIR /app
COPY todolistH2.jar spring-boot-application.jar
ENTRYPOINT ["java","-Dspring.profiles.active=prod","-jar","spring-boot-application.jar"]
\ No newline at end of file
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment