feat: postgresql exo

This commit is contained in:
Haletran 2026-02-26 23:02:03 +01:00
parent 8586a6583e
commit b576a5d4fd
6 changed files with 23 additions and 8 deletions

View file

@ -1,10 +1,10 @@
services: services:
caddy: caddy:
container_name: caddy container_name: caddy
image: caddy:2.10.2-alpine image: library/caddy
ports: ports:
- "8080:80" - "80:80"
#- "443:443" - "443:443"
volumes: volumes:
- caddy-caddyfiles:/etc/caddy - caddy-caddyfiles:/etc/caddy
- caddy-data:/data - caddy-data:/data

View file

@ -5,4 +5,4 @@ RUN apk update && \
EXPOSE 5335/udp 5335/tcp EXPOSE 5335/udp 5335/tcp
CMD unbound && tail -f CMD unbound -d -v

View file

@ -0,0 +1,16 @@
services:
postgres:
image: library/postgres
container_name: postgres
networks:
- proxy
environment:
POSTGRES_USER: bapasqui
POSTGRES_PASSWORD: password
PGPORT: 3212
restart: unless-stopped
networks:
proxy:
name: proxy
external: true

7
startup Normal file → Executable file
View file

@ -3,7 +3,6 @@
case "$1" in case "$1" in
vm) vm)
qemu-system-x86_64 \ qemu-system-x86_64 \
-nographic -serial mon:stdio \
-enable-kvm -cpu host -smp 4 -m 4G \ -enable-kvm -cpu host -smp 4 -m 4G \
-device e1000,netdev=net0 \ -device e1000,netdev=net0 \
-netdev user,id=net0,hostfwd=tcp::2222-:22 \ -netdev user,id=net0,hostfwd=tcp::2222-:22 \
@ -20,9 +19,9 @@ case "$1" in
just start caddy just start caddy
just start doh just start doh
;; ;;
stop) clean)
just stop caddy just clean caddy
just stop doh just clean doh
;; ;;
restart) restart)
just re caddy just re caddy