Compare commits

..

No commits in common. "fd7725b7b9b5a2fca262178f6fb504962471ff94" and "84f1d3e22dbc735e79e792d7d709a2b3980ae547" have entirely different histories.

5 changed files with 23 additions and 56 deletions

3
.gitignore vendored
View File

@ -1,3 +0,0 @@
.idea
dist
node_modules

View File

@ -8,7 +8,6 @@ RUN npm ci && npm run build
FROM nginx:alpine FROM nginx:alpine
COPY ./nginx.conf /etc/nginx/nginx.conf
COPY --from=builder /home/node/app/dist /var/www/html COPY --from=builder /home/node/app/dist /var/www/html
EXPOSE 8080 EXPOSE 8080

View File

@ -1,22 +0,0 @@
version: '3'
networks:
web:
external: true
services:
frontend:
image: docker.cybre.town/adb/adb.sh
build:
dockerfile: ./Dockerfile
context: ./
labels:
- "traefik.enable=true"
- "traefik.http.routers.adb-sh.rule=Host(`adb.sh`)"
- "traefik.http.routers.adb-sh.entrypoints=https"
- "traefik.http.services.adb-sh.loadbalancer.server.port=8080"
- "traefik.http.routers.adb-sh.tls.certresolver=mytlschallenge"
- "traefik.docker.network=web"
ports:
- "9000:8080"

View File

@ -18,7 +18,7 @@ http {
# tcp_nopush on; # tcp_nopush on;
keepalive_timeout 3; keepalive_timeout 3;
# tcp_nodelay on; # tcp_nodelay on;
gzip on; # gzip on;
client_max_body_size 1m; client_max_body_size 1m;
server { server {
@ -77,14 +77,13 @@ http {
location @502 { return 502 '{"status":502,"message":"Bad gateway"}\n'; } location @502 { return 502 '{"status":502,"message":"Bad gateway"}\n'; }
location /mail { location /mail {
return 302 mailto:info@adb.sh; return 302 mailto:info@adb.sh;
} }
location / { location / {
index index.html; index index.html;
root /var/www/html; root /var/www/html;
try_files $uri $uri/; try_files $uri $uri/ /index.html;
absolute_redirect off;
} }
} }
} }

View File

@ -51,32 +51,16 @@ meta:
- working at [54GradSoftware](https://54gradsoftware.de) - working at [54GradSoftware](https://54gradsoftware.de)
### techniques I'm familiar with ### techniques I'm familiar with
#### webdev #### programming languages & frameworks
- HTML5 / CSS3 - HTML
- JavaScript / TypeScript - CSS
- frontend / meta frameworks - JavaScript
- Vue / Nuxt - TypeScript
- SolidJS / Solid Start - NodeJS
- backend - Express
- NodeJS (Express) - Vue
- Deno (oak) - Python
- Django - Arduino
- CSS frameworks
- Bootstrap
- Tailwind
#### devops
- linux
- Debian & Ubuntu
- nixOS
- Docker
- Ansible
- Kubernetes
#### database
- MariaDB & Postgres
- MongoDB
- Redis
#### software #### software
- KiCad - KiCad
@ -87,6 +71,16 @@ meta:
- Indesign - Indesign
- Illustrator - Illustrator
#### other
- Linux
- Debian & Ubuntu
- nixOS
- Docker
- Ansible
- MariaDB & Postgres
- MongoDB
- Redis
## :mailbox_with_mail: contact me ## :mailbox_with_mail: contact me
- Matrix: [@adb:adb.sh](https://matrix.to/#/@adb:adb.sh) - Matrix: [@adb:adb.sh](https://matrix.to/#/@adb:adb.sh)