commit b19932b981420c3de6f02d74758a1b7df25af366 Author: AzenKain Date: Tue Mar 17 18:15:09 2026 +0700 init diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..6038e66 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,24 @@ +name: Gitea Auto Deploy +run-name: ${{ gitea.actor }} pushed code 🚀 + +on: [push] + +jobs: + Deploy-Container: + runs-on: ubuntu-latest + + steps: + - name: Check out latest code + uses: actions/checkout@v4 + + - name: Stop and remove old containers + run: | + docker compose down || true + + - name: Remove unused Docker resources + run: | + docker system prune -a --volumes -f + + - name: Build and restart containers + run: | + docker compose up -d \ No newline at end of file diff --git a/.history/Dockerfile_20260317180937 b/.history/Dockerfile_20260317180937 new file mode 100644 index 0000000..e69de29 diff --git a/.history/Dockerfile_20260317180943 b/.history/Dockerfile_20260317180943 new file mode 100644 index 0000000..627db9f --- /dev/null +++ b/.history/Dockerfile_20260317180943 @@ -0,0 +1,4 @@ +FROM nginx:alpine +COPY index.html /usr/share/nginx/html/index.html +EXPOSE 80 +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/.history/Dockerfile_20260317181102 b/.history/Dockerfile_20260317181102 new file mode 100644 index 0000000..47784e4 --- /dev/null +++ b/.history/Dockerfile_20260317181102 @@ -0,0 +1,9 @@ +FROM nginx:stable-alpine3.20-slim + +COPY index.html /usr/share/nginx/html/index.html + +RUN chmod 644 /usr/share/nginx/html/index.html + +EXPOSE 80 + +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/.history/Dockerfile_20260317181115 b/.history/Dockerfile_20260317181115 new file mode 100644 index 0000000..a63e8a9 --- /dev/null +++ b/.history/Dockerfile_20260317181115 @@ -0,0 +1,9 @@ +FROM nginx:stable-alpine3.21-slim + +COPY index.html /usr/share/nginx/html/index.html + +RUN chmod 644 /usr/share/nginx/html/index.html + +EXPOSE 80 + +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/.history/Dockerfile_20260317181252 b/.history/Dockerfile_20260317181252 new file mode 100644 index 0000000..cdf6ad3 --- /dev/null +++ b/.history/Dockerfile_20260317181252 @@ -0,0 +1,9 @@ +FROM nginx:1.28.2-alpine, stable-alpine, + +COPY index.html /usr/share/nginx/html/index.html + +RUN chmod 644 /usr/share/nginx/html/index.html + +EXPOSE 80 + +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/.history/Dockerfile_20260317181255 b/.history/Dockerfile_20260317181255 new file mode 100644 index 0000000..9928707 --- /dev/null +++ b/.history/Dockerfile_20260317181255 @@ -0,0 +1,9 @@ +FROM nginx:stable-alpine, + +COPY index.html /usr/share/nginx/html/index.html + +RUN chmod 644 /usr/share/nginx/html/index.html + +EXPOSE 80 + +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/.history/Dockerfile_20260317181258 b/.history/Dockerfile_20260317181258 new file mode 100644 index 0000000..4c4403a --- /dev/null +++ b/.history/Dockerfile_20260317181258 @@ -0,0 +1,9 @@ +FROM nginx:stable-alpine + +COPY index.html /usr/share/nginx/html/index.html + +RUN chmod 644 /usr/share/nginx/html/index.html + +EXPOSE 80 + +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/.history/docker-compose_20260317181011.yml b/.history/docker-compose_20260317181011.yml new file mode 100644 index 0000000..e69de29 diff --git a/.history/docker-compose_20260317181017.yml b/.history/docker-compose_20260317181017.yml new file mode 100644 index 0000000..4ee1e51 --- /dev/null +++ b/.history/docker-compose_20260317181017.yml @@ -0,0 +1,7 @@ +services: + migration-page: + build: . + container_name: srtools-migration + ports: + - "8080:80" + restart: always \ No newline at end of file diff --git a/.history/docker-compose_20260317181403.yml b/.history/docker-compose_20260317181403.yml new file mode 100644 index 0000000..7e23366 --- /dev/null +++ b/.history/docker-compose_20260317181403.yml @@ -0,0 +1,7 @@ +services: + migration-page: + build: . + container_name: srtools-migration + ports: + - "3008:80" + restart: always \ No newline at end of file diff --git a/.history/index_20260317180916.html b/.history/index_20260317180916.html new file mode 100644 index 0000000..e69de29 diff --git a/.history/index_20260317180921.html b/.history/index_20260317180921.html new file mode 100644 index 0000000..d9c818a --- /dev/null +++ b/.history/index_20260317180921.html @@ -0,0 +1,68 @@ + + + + + + Domain Migration - SRTools + + + + +
+
+

+

+

+
+ +
+ + + + +
+
+ + + + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4c4403a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM nginx:stable-alpine + +COPY index.html /usr/share/nginx/html/index.html + +RUN chmod 644 /usr/share/nginx/html/index.html + +EXPOSE 80 + +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..7e23366 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +services: + migration-page: + build: . + container_name: srtools-migration + ports: + - "3008:80" + restart: always \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..d9c818a --- /dev/null +++ b/index.html @@ -0,0 +1,68 @@ + + + + + + Domain Migration - SRTools + + + + +
+
+

+

+

+
+ +
+ + + + +
+
+ + + + \ No newline at end of file