chore: site corrections & compose corrections
This commit is contained in:
parent
8a6f558608
commit
bd09a2e96c
@ -26,6 +26,7 @@ services:
|
||||
|
||||
tdsback:
|
||||
build: tds-back
|
||||
image: tds/back
|
||||
container_name: tds-api
|
||||
restart: always
|
||||
depends_on:
|
||||
@ -63,14 +64,15 @@ services:
|
||||
- "traefik.enable=true"
|
||||
|
||||
samplefamback:
|
||||
image: tds/back
|
||||
build:
|
||||
context: sample-back
|
||||
args:
|
||||
jarargs: -Dspring.profiles.active=sample
|
||||
container_name: samplefam-api
|
||||
restart: always
|
||||
depends_on:
|
||||
- samplefamdb
|
||||
- tdsback
|
||||
labels:
|
||||
- "traefik.http.routers.samplefamback.rule=Host(`sf.truyen.network`) && PathPrefix(`/api`)"
|
||||
- "traefik.http.routers.samplefamback.entrypoints=websecure"
|
||||
|
||||
5
makefile
5
makefile
@ -11,7 +11,6 @@ clean:
|
||||
rm -rf ./tds-front
|
||||
rm -rf ./tds-back
|
||||
rm -rf ./sample-front
|
||||
rm -rf ./sample-back
|
||||
|
||||
build-tds-docker-images:
|
||||
cd ../familySite1Frontend && ng build
|
||||
@ -30,10 +29,6 @@ build-sample-docker-images:
|
||||
cp -r ../familySite1Frontend/dist/familySite1 ./sample-front/dist/
|
||||
cp ../familySite1Frontend/Dockerfile ./sample-front/
|
||||
cd ../familySite1Backend && mvn package
|
||||
mkdir -p ./sample-back/target
|
||||
cp -r ../familySite1Backend/target/*.jar ./sample-back/target/
|
||||
cp ../familySite1Backend/Dockerfile ./sample-back/
|
||||
chmod a+x ./sample-back/target/*.jar
|
||||
|
||||
deploy:
|
||||
docker compose up -d --build --remove-orphans
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
FROM openjdk:24-jdk-slim
|
||||
|
||||
ARG JAR_FILE=target/*.jar
|
||||
COPY ${JAR_FILE} app.jar
|
||||
|
||||
ARG jarargs=''
|
||||
ENV myArgs=$jarargs
|
||||
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT java -jar $myArgs /app.jar
|
||||
Binary file not shown.
2
sample-front/dist/familySite1/index.html
vendored
2
sample-front/dist/familySite1/index.html
vendored
@ -8,7 +8,7 @@
|
||||
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
<script src="runtime.ed14f20cc9779f09.js" type="module"></script><script src="polyfills.1358c66226f5aae4.js" type="module"></script><script src="main.e93c608155d9b8c8.js" type="module"></script>
|
||||
<script src="runtime.ed14f20cc9779f09.js" type="module"></script><script src="polyfills.1358c66226f5aae4.js" type="module"></script><script src="main.25fcd3d08a5c494f.js" type="module"></script>
|
||||
|
||||
|
||||
</body></html>
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
2
tds-front/dist/familySite1/index.html
vendored
2
tds-front/dist/familySite1/index.html
vendored
@ -8,7 +8,7 @@
|
||||
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
<script src="runtime.ed14f20cc9779f09.js" type="module"></script><script src="polyfills.1358c66226f5aae4.js" type="module"></script><script src="main.f56200f3b8c81316.js" type="module"></script>
|
||||
<script src="runtime.ed14f20cc9779f09.js" type="module"></script><script src="polyfills.1358c66226f5aae4.js" type="module"></script><script src="main.e1f7111bcc0fccb6.js" type="module"></script>
|
||||
|
||||
|
||||
</body></html>
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user