Renamed all docker-compose files to podman-compose
Just because I can
This commit is contained in:
parent
d546922e1e
commit
a55c7b1f99
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
*/.env
|
||||
*/podman-compose.yaml
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
image = "slothcroissant/caddy-cloudflaredns"
|
||||
container_name = "caddy"
|
||||
restart = "unless-stopped"
|
||||
user = "82:82"
|
||||
ports = ["80:80", "443:443/tcp", "443:443/udp"]
|
||||
networks = ["proxy"]
|
||||
env_file = [".env"]
|
||||
volumes = [
|
||||
"~/data/caddy/data:/data",
|
||||
"~/data/caddy/config:/config",
|
16
podman-compose-toml.zsh
Normal file
16
podman-compose-toml.zsh
Normal file
|
@ -0,0 +1,16 @@
|
|||
# source this file in ZSH to get TOML support in podman-compose
|
||||
# via the dct command
|
||||
# yj is required for this to work.
|
||||
# function name stands for Podman Compose Toml
|
||||
pct () {
|
||||
local file_path=('./podman-compose.toml')
|
||||
zmodload zsh/zutil
|
||||
zparseopts -D -K -- f:=file_path || return 1
|
||||
file_path=${file_path[-1]}
|
||||
if [[ ! -a "$file_path" ]]
|
||||
then
|
||||
echo "File $file_path does not exist!"
|
||||
return 1
|
||||
fi
|
||||
yj -ty < $file_path | docker-compose -f - $@
|
||||
}
|
|
@ -3,7 +3,6 @@ image = "grafana/grafana"
|
|||
container_name = "grafana"
|
||||
volumes = ["~/data/stats/grafana:/var/lib/grafana"]
|
||||
networks = ["stats", "proxy"]
|
||||
user = "1000:984"
|
||||
env_file = [".env"]
|
||||
environment = [
|
||||
"GF_AUTH_GENERIC_OAUTH_CLIENT_ID",
|
Reference in a new issue