first commit from PC

This commit is contained in:
2025-07-20 13:28:12 +10:00
parent a2971879f0
commit a27c86ffe9
42 changed files with 1551 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM debian
RUN apt-get update && apt-get install -y python3 pip
RUN pip install sendgrid docker
CMD ["bash"]
+20
View File
@@ -0,0 +1,20 @@
FROM debian
ENV DEBIAN_FRONTEND=noninteractive
ENV WINEARCH=win32
ENV WINEPREFIX=~/.msoffice
RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y wget gcc make perl && \
apt install -y software-properties-common && \
mkdir -pm755 /etc/apt/keyrings && \
wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key && \
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources && \
apt-get update && \
apt-get install -y --install-recommends winehq-stable && \
apt-get update && \
apt-get install -y winetricks winbind samba smbclient winetricks
RUN mkdir ~/.msoffice
RUN wineboot -i
RUN winetricks cmd corefonts msxml6 riched20 gdiplus
COPY /root/Nextcloud/OfficeSetup.exe /
RUN wine /OfficeSetup.exe
+21
View File
@@ -0,0 +1,21 @@
version: "3.9"
services:
haproxy:
deploy:
mode: global
restart: always
image: haproxytech/haproxy-debian
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- data:/etc/haproxy:rw
ports:
- 80:80
- 443:443
volumes:
data:
driver: local
driver_opts:
type: nfs
device: ":/srv/docker/volumes/haproxy"
o: "addr=192.168.8.231,rw,nfsvers=4,async"
+14
View File
@@ -0,0 +1,14 @@
version: "3.9"
services:
keeweb:
deploy:
replicas: 3
restart: always
image: antelle/keeweb:latest
command: nginx
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
ports:
- 8888:80
- 8443:443
@@ -0,0 +1,20 @@
version: "3.9"
services:
registry:
restart: always
deploy:
replicas: 3
image: registry:2
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etclocaltime:ro
- data:/var/lib/registry:rw
ports:
- 5002:5000
volumes:
data:
driver: local
driver_opts:
type: nfs
device: ":/srv/docker/volumes/registry"
o: "addr=192.168.8.231,rw,nfsvers=4,async"
+12
View File
@@ -0,0 +1,12 @@
version: "3.9"
services:
searxng:
deploy:
replicas: 3
restart: always
image: searxng/searxng
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
ports:
- 8080:8080
+21
View File
@@ -0,0 +1,21 @@
version: "3.9"
services:
webdav:
deploy:
replicas: 3
restart: always
image: registry.alm.lan/webdav:latest
volumes:
- data:/var/www/html
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
ports:
- 5003:5003
- 5004:5004
volumes:
data:
driver: local
driver_opts:
type: nfs
device: ":/srv/docker/volumes/webdav"
o: "addr=192.168.8.231,rw,nfsvers=4,async"
+40
View File
@@ -0,0 +1,40 @@
version: "3"
services:
webapp:
image: portainer/portainer-ce:latest
command: -H unix:///var/run/docker.sock
restart: always
hostname: portainer.lan.ddnsgeek.com
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/data
labels:
# Frontend
- "traefik.enable=true"
- "traefik.http.routers.frontend.rule=Host(`portainer.lan.ddnsgeek.com`)"
- "traefik.http.routers.frontend.entrypoints=websecure"
- "traefik.http.services.frontend.loadbalancer.server.port=9000"
- "traefik.http.routers.frontend.service=frontend"
- "traefik.http.routers.frontend.tls.certresolver=myresolver"
- "traefik.http.routers.frontend.middlewares=error-pages-middleware"
# Edge
- "traefik.http.routers.edge.rule=Host(`edge.lan.ddnsgeek.com`)"
- "traefik.http.routers.edge.entrypoints=websecure"
- "traefik.http.services.edge.loadbalancer.server.port=8000"
- "traefik.http.routers.edge.service=edge"
- "traefik.http.routers.edge.tls.certresolver=myresolver"
- "io.portainer.accesscontrol.public"
# healthcheck:
# test: "curl http://localhost:9000/api/system/status"
networks:
- traefik_default
networks:
traefik_default:
external: true
+6
View File
@@ -0,0 +1,6 @@
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y flatpak && apt-get upgrade -y
RUN flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
RUN flatpak install app/org.mozilla.firefox/x86_64/stable -y --noninteractive
CMD ["/usr/bin/firefox"]
+12
View File
@@ -0,0 +1,12 @@
version: "3"
services:
app:
image: ubuntu-gui
build: .
environment:
- DISPLAY=${DISPLAY}
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
network_mode: host
hostname: ubuntu