Compare commits

..

No commits in common. "f25f1f8297fff53b4ea21523c86fc2c9b990d472" and "e71fef338a0b06eb008fe8dde5e8635956f46a34" have entirely different histories.

10 changed files with 4 additions and 75 deletions

2
.gitignore vendored
View File

@ -1,4 +1,2 @@
venv
.vscode/settings.json
.vscode/
n0xb0x.code-workspace

View File

@ -16,11 +16,6 @@ Volume=/home/{{ansible_user}}/vol/bitcoin/.bitcoin:/bitcoin/.bitcoin:Z
Restart=always
# Extend Timeout to allow time to pull the image
TimeoutStartSec=900
TimeoutStopSec=300
HealthCmd=/bin/sh -c "bitcoin-cli getblockchaininfo || exit 1"
HealthInterval=180s
HealthRetries=5
HealthStartPeriod=1000s
# ExecStartPre flag and other systemd commands can go here, see systemd.unit(5) man page.
# ExecStartPre=/usr/share/mincontainer/setup.sh

View File

@ -6,8 +6,8 @@ WORKDIR /app
RUN microdnf update -y \
&& microdnf install -y wget tar gzip nss-tools \
&& wget https://github.com/caddyserver/caddy/releases/download/v${VERSION}/caddy_${VERSION}_linux_amd64.tar.gz \
&& wget https://github.com/caddyserver/caddy/releases/download/v${VERSION}/caddy_${VERSION}_checksums.txt \
&& wget https://github.com/caddyserver/caddy/releases/download/v2.7.6/caddy_${VERSION}_linux_amd64.tar.gz \
&& wget https://github.com/caddyserver/caddy/releases/download/v2.7.6/caddy_${VERSION}_checksums.txt \
&& sha512sum --ignore-missing --check caddy_${VERSION}_checksums.txt \
&& tar xf caddy_${VERSION}_linux_amd64.tar.gz \
&& rm -f caddy_${VERSION}_linux.amd64.tar.gz LICENSE README.md caddy_${VERSION}_checksums.txt \

View File

@ -4,7 +4,7 @@ Description=Core Lightning Server
[Container]
Image={{ registry_url }}/clightning:{{ clightning_version }}
PodmanArgs=--pod bitcoin-pod
Exec=--pid-file=/root/.lightning/lightning.pid --bitcoin-rpcuser={{bitcoin_rpcuser}} --bitcoin-rpcpassword={{bitcoin_rpcpassword}} --clnrest-port=3001 --clnrest-host=0.0.0.0 --clnrest-certs=/root/.lightning
Exec=--bitcoin-rpcuser={{bitcoin_rpcuser}} --bitcoin-rpcpassword={{bitcoin_rpcpassword}} --clnrest-port=3001 --clnrest-host=0.0.0.0 --clnrest-certs=/root/.lightning
# Use volume
Volume=/home/{{ansible_user}}/vol/bitcoin/.bitcoin:/data/.bitcoin:ro,Z

View File

@ -35,4 +35,4 @@ ENV LNBITS_HOST="0.0.0.0"
EXPOSE $LNBITS_PORT
CMD ["sh", "-c", "poetry install && poetry run lnbits --port $LNBITS_PORT --host $LNBITS_HOST"]
CMD ["sh", "-c", "poetry run lnbits --port $LNBITS_PORT --host $LNBITS_HOST"]

View File

@ -1,15 +0,0 @@
[Unit]
Description=Node-Red Container
After=network-online.target
[Container]
Image=docker.io/nodered/node-red:4.0.2-22
ContainerName=node-red
Volume=nodered:/data:Z
PublishPort=0.0.0.0:1880:1880
[Service]
Restart=Always
[Install]
WantedBy=multi-user.target

View File

@ -1,17 +0,0 @@
[Unit]
Description=PGAdmin Database Tool
After=network-online.target
[Container]
Image=docker.io/dpage/pgadmin4:8
ContainerName=pgadmin
Volume=pgadmin:/var/lib/pgadmin:Z
PublishPort=0.0.0.0:5050:80
Environment=PGADMIN_DEFAULT_PASSWORD=monarc
Environment=PGADMIN_DEFAULT_EMAIL=admin@monarc.systems
[Service]
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -1,17 +0,0 @@
[Unit]
Description=PostgreSQL 16 Container
[Container]
Image=docker.io/library/postgres:16
ContainerName=postgresql
Environment=POSTGRES_USER=monarc
Environment=POSTGRES_PASSWORD=monarc
Environment=POSTGRES_DB=novusdb
Volume=postgresql:/var/lib/postgresql/data
PublishPort=0.0.0.0:5432:5432
[Service]
Restart=always
[Install]
WantedBy=multi-user.target default.target

View File

@ -70,15 +70,6 @@
state: started
enabled: true
tags: config
- name: Enable libvirtd Service
become: true
become_method: sudo
ansible.builtin.systemd_service:
name: libvirtd
state: started
enabled: true
tags: config
- name: Enable mdns in Firewall
become: true

View File

@ -41,15 +41,9 @@
- cockpit-ostree
- cockpit-podman
- cockpit-storaged
- cockpit-machines
- zerotier-one
- python3-pip
- smartmontools
- qemu-kvm
- qemu-system-x86
- libvirt-daemon-driver-qemu
- libvirt-client
- virt-install
tags: install
- name: Install local tools