feat: Switch to port 80 (#210)

This commit is contained in:
Kroese 2025-03-17 16:42:58 +01:00 committed by GitHub
parent 824c7a42f4
commit f15feef69b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 5 deletions

View file

@ -54,7 +54,7 @@ ADD --chmod=664 https://raw.githubusercontent.com/qemus/qemu/master/web/conf/man
ADD --chmod=744 https://raw.githubusercontent.com/qemus/qemu/master/web/conf/nginx.conf /etc/nginx/sites-enabled/web.conf ADD --chmod=744 https://raw.githubusercontent.com/qemus/qemu/master/web/conf/nginx.conf /etc/nginx/sites-enabled/web.conf
VOLUME /storage VOLUME /storage
EXPOSE 22 5900 8006 EXPOSE 22 80 5900
ENV CPU_CORES="1" ENV CPU_CORES="1"
ENV RAM_SIZE="1G" ENV RAM_SIZE="1G"

View file

@ -10,7 +10,7 @@ services:
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
ports: ports:
- 8006:8006 - 8006:80
volumes: volumes:
- ./qemu:/storage - ./qemu:/storage
restart: always restart: always

View file

@ -76,7 +76,7 @@ spec:
- name: http - name: http
port: 8006 port: 8006
protocol: TCP protocol: TCP
targetPort: 8006 targetPort: 80
- name: vnc - name: vnc
port: 5900 port: 5900
protocol: TCP protocol: TCP

View file

@ -39,7 +39,7 @@ services:
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
ports: ports:
- 8006:8006 - 8006:80
volumes: volumes:
- ./qemu:/storage - ./qemu:/storage
restart: always restart: always
@ -49,7 +49,7 @@ services:
Via Docker CLI: Via Docker CLI:
```bash ```bash
docker run -it --rm --name qemu -e "BOOT=alpine" -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v ${PWD:-.}/qemu:/storage --stop-timeout 120 qemux/qemu-arm docker run -it --rm --name qemu -e "BOOT=alpine" -p 8006:80 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v ${PWD:-.}/qemu:/storage --stop-timeout 120 qemux/qemu-arm
``` ```
Via Kubernetes: Via Kubernetes:

View file

@ -69,6 +69,10 @@ CPU="${CPU// 8 Core/}"
CPU="${CPU// 16 Core/}" CPU="${CPU// 16 Core/}"
CPU="${CPU// 32 Core/}" CPU="${CPU// 32 Core/}"
CPU="${CPU// 64 Core/}" CPU="${CPU// 64 Core/}"
CPU="${CPU//12th Gen /}"
CPU="${CPU//13th Gen /}"
CPU="${CPU//14th Gen /}"
CPU="${CPU//15th Gen /}"
CPU="${CPU// Processor/}" CPU="${CPU// Processor/}"
CPU="${CPU// Quad core/}" CPU="${CPU// Quad core/}"
CPU="${CPU// Core TM/ Core}" CPU="${CPU// Core TM/ Core}"