Persist rego-tunnel qcow2 under user-config; remove rego-tunnel-linux
Some checks failed
Test / test (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
This commit is contained in:
@@ -2,7 +2,7 @@ FROM ubuntu:24.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get install -y qemu-system-x86 qemu-utils novnc websockify openssh-server supervisor iproute2 bridge-utils iptables nano net-tools && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y qemu-system-x86 qemu-utils novnc websockify openssh-server supervisor iproute2 bridge-utils iptables nano net-tools p7zip-full && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Setup SSH
|
||||
RUN mkdir /var/run/sshd && echo 'root:vmpassword' | chpasswd && sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
"services": [
|
||||
{
|
||||
"name": "rego-tunnel",
|
||||
"image": "git.alexzaw.dev/alexz/linux-vm:latest",
|
||||
"image": "linux-vm:latest",
|
||||
"isMain": true,
|
||||
"internalPort": 6080,
|
||||
"internalPort": 8006,
|
||||
"environment": [
|
||||
{
|
||||
"key": "VM_RAM",
|
||||
@@ -17,11 +17,11 @@
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"hostPath": "${APP_DATA_DIR}/data/storage/linux-vm.qcow2",
|
||||
"hostPath": "/etc/runtipi/user-config/runtipi/rego-tunnel/storage/linux-vm.qcow2",
|
||||
"containerPath": "/vm/linux-vm.qcow2"
|
||||
},
|
||||
{
|
||||
"hostPath": "${APP_DATA_DIR}/data/shared",
|
||||
"hostPath": "/etc/runtipi/user-config/runtipi/rego-tunnel/shared",
|
||||
"containerPath": "/shared"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
rego-tunnel:
|
||||
container_name: rego-tunnel
|
||||
image: localhost:8108/alexz/linux-vm:latest
|
||||
image: linux-vm:latest
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
devices:
|
||||
@@ -16,8 +16,8 @@ services:
|
||||
- VM_RAM=${WINDOWS_RAM_GB}G
|
||||
- VM_CPUS=${WINDOWS_CPU_CORES}
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/storage/linux-vm.qcow2:/vm/linux-vm.qcow2
|
||||
- ${APP_DATA_DIR}/data/shared:/shared
|
||||
- /etc/runtipi/user-config/runtipi/rego-tunnel/storage/linux-vm.qcow2:/vm/linux-vm.qcow2
|
||||
- /etc/runtipi/user-config/runtipi/rego-tunnel/shared:/shared
|
||||
networks:
|
||||
- tipi_main_network
|
||||
sysctls:
|
||||
|
||||
Reference in New Issue
Block a user