feat: postgresql exo
This commit is contained in:
parent
8586a6583e
commit
b576a5d4fd
|
|
@ -1,10 +1,10 @@
|
|||
services:
|
||||
caddy:
|
||||
container_name: caddy
|
||||
image: caddy:2.10.2-alpine
|
||||
image: library/caddy
|
||||
ports:
|
||||
- "8080:80"
|
||||
#- "443:443"
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- caddy-caddyfiles:/etc/caddy
|
||||
- caddy-data:/data
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ RUN apk update && \
|
|||
|
||||
EXPOSE 5335/udp 5335/tcp
|
||||
|
||||
CMD unbound && tail -f
|
||||
CMD unbound -d -v
|
||||
16
core/postgresql/compose.yml
Normal file
16
core/postgresql/compose.yml
Normal 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
7
startup
Normal file → Executable file
|
|
@ -3,7 +3,6 @@
|
|||
case "$1" in
|
||||
vm)
|
||||
qemu-system-x86_64 \
|
||||
-nographic -serial mon:stdio \
|
||||
-enable-kvm -cpu host -smp 4 -m 4G \
|
||||
-device e1000,netdev=net0 \
|
||||
-netdev user,id=net0,hostfwd=tcp::2222-:22 \
|
||||
|
|
@ -20,9 +19,9 @@ case "$1" in
|
|||
just start caddy
|
||||
just start doh
|
||||
;;
|
||||
stop)
|
||||
just stop caddy
|
||||
just stop doh
|
||||
clean)
|
||||
just clean caddy
|
||||
just clean doh
|
||||
;;
|
||||
restart)
|
||||
just re caddy
|
||||
|
|
|
|||
Loading…
Reference in a new issue