mirror of
https://github.com/Theodor-Springmann-Stiftung/server-package.git
synced 2025-10-29 01:05:31 +00:00
more server packs
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
www.dev.hamann-ausgabe.de, development.hamann-ausgabe.de {
|
www.dev.hamann-ausgabe.de, https://development.hamann-ausgabe.de, http://development.hamann-ausgabe.de {
|
||||||
redir https://dev.hamann-ausgabe.de{uri}
|
redir https://dev.hamann-ausgabe.de{uri}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,12 @@
|
|||||||
www.hamann-ausgabe.de, hamann-briefwechsel.de, www.hamann-briefwechsel.de, hamann-briefe.de, www.hamann-briefe.de, hamann-werke.de, www.hamann-werke.de {
|
www.hamann-werke.de, hamann-werke.de {
|
||||||
|
redir https://hamann-ausgabe.de/HKW
|
||||||
|
}
|
||||||
|
|
||||||
|
www.hamann-briefwechsel.de, hamann-briefwechel.de, hamann-briefe.de, www.hamann-briefe.de {
|
||||||
|
redir https://hamann-ausgabe.de/HKB
|
||||||
|
}
|
||||||
|
|
||||||
|
www.hamann-ausgabe.de {
|
||||||
redir https://hamann-ausgabe.de{uri}
|
redir https://hamann-ausgabe.de{uri}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -114,3 +114,5 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
alias e="vim"
|
alias e="vim"
|
||||||
|
alias cat="bat"
|
||||||
|
eval "$(zoxide init bash)"
|
||||||
|
|||||||
BIN
portainer/.portainer-server.yml.swp
Normal file
BIN
portainer/.portainer-server.yml.swp
Normal file
Binary file not shown.
20
portainer/portainer-agent.yml
Normal file
20
portainer/portainer-agent.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
services:
|
||||||
|
portainer_agent:
|
||||||
|
# This is the image to use
|
||||||
|
image: portainer/agent
|
||||||
|
|
||||||
|
# This corresponds to --name portainer_agent
|
||||||
|
container_name: portainer_agent
|
||||||
|
|
||||||
|
# This corresponds to --restart=always
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
# This corresponds to -p 9001:9001
|
||||||
|
ports:
|
||||||
|
- "9001:9001"
|
||||||
|
|
||||||
|
# This corresponds to the -v flags
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
||||||
|
|
||||||
27
portainer/portainer-server.yml
Normal file
27
portainer/portainer-server.yml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
services:
|
||||||
|
portainer:
|
||||||
|
container_name: portainer
|
||||||
|
image: portainer/portainer-ce:lts
|
||||||
|
restart: always
|
||||||
|
# 1. Add this command to disable Portainer's TLS and use HTTP on port 9000
|
||||||
|
command: --no-tls
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- portainer_data:/data
|
||||||
|
ports:
|
||||||
|
# 2. We remove the 9443 port. Caddy will access Portainer internally.
|
||||||
|
# - 9443:9443
|
||||||
|
- 8000:8000 # Keep if you use Edge Agents
|
||||||
|
|
||||||
|
# 3. Connect this container to the shared caddynet network
|
||||||
|
networks:
|
||||||
|
- caddynet
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
portainer_data:
|
||||||
|
name: portainer_data
|
||||||
|
|
||||||
|
# 4. Define caddynet as an existing, external network
|
||||||
|
networks:
|
||||||
|
caddynet:
|
||||||
|
external: true
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
sudo apt install podman git vim fail2ban ufw
|
sudo apt install podman git vim fail2ban ufw atuin zoxide bat
|
||||||
|
|||||||
Reference in New Issue
Block a user