diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml
new file mode 100644
index 0000000..b5c30ea
--- /dev/null
+++ b/.gitea/workflows/deploy.yml
@@ -0,0 +1,41 @@
+name: Deploy
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Keyscan
+ run: |
+ ssh-keyscan git.koptilnya.xyz >> ~/.ssh/known_hosts
+
+ - name: Checkout
+ uses: actions/checkout@v4
+ with:
+ ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
+ ssh-strict: false
+ persist-credentials: false
+
+ - name: Build
+ run: docker build -t bpmn-api:latest .
+
+ - name: Stop old container
+ run: docker rm -f bpmn-api || true
+
+ - name: Run
+ run: |
+ docker run -d \
+ --name bpmn-api \
+ --network traefik \
+ --label "traefik.enable=true" \
+ --label "traefik.http.routers.bpmn-api.rule=Host(\`bpmn-api.koptilnya.xyz\`) && PathPrefix(\`/bpmn\`)" \
+ --label "traefik.http.middlewares.bpmn-api.stripprefix.prefixes=/bpmn" \
+ --label "traefik.http.routers.bpmn-api.entrypoints=websecure" \
+ --label "traefik.http.routers.bpmn-api.tls.certresolver=myresolver" \
+ --label "traefik.http.services.bpmn-api.loadbalancer.server.port=80" \
+ bpmn-api:latest
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..aa65288
--- /dev/null
+++ b/.idea/codeStyles/Project.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 0000000..79ee123
--- /dev/null
+++ b/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..0be03f4
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..623dce8
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {
+ "associatedIndex": 6
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1763474739965
+
+
+ 1763474739965
+
+
+
+
+
+
+
+ 1763650921933
+
+
+
+ 1763650921933
+
+
+
+ 1763652368961
+
+
+
+ 1763652368961
+
+
+
+ 1763652697122
+
+
+
+ 1763652697122
+
+
+
+ 1763652748434
+
+
+
+ 1763652748434
+
+
+
+ 1763652805038
+
+
+
+ 1763652805038
+
+
+
+ 1763653055665
+
+
+
+ 1763653055665
+
+
+
+ 1763653146312
+
+
+
+ 1763653146312
+
+
+
+ 1763653348112
+
+
+
+ 1763653348112
+
+
+
+ 1763653685850
+
+
+
+ 1763653685850
+
+
+
+ 1763654828401
+
+
+
+ 1763654828401
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
index 96502db..7e004a3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,5 +6,6 @@ COPY package*.json ./
USER node
RUN npm install
COPY --chown=node:node . .
-EXPOSE 1234
-CMD [ "npm", "start" ]
\ No newline at end of file
+ENV PORT=80
+EXPOSE 80
+CMD [ "npm", "start" ]