Use long form for env_file parameters to enabling secret-free linting #120
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://github.com/docker/compose/issues/3560
Compose
v2.24.0
provided a long format for theenv_file
parameter which allows setting a file asrequired: false
. This allowsdocker compose config
to exit 0 when a secrets file is missing.v2.24.0
or later.fighter
druid
env_file
declarations to long format. Set secrets torequired: false
, otherwiserequired: true
.druid/gitea
druid/vaultwarden
druid/wireguard
fighter/autopirate
fighter/keycloak
fighter/minecraft
fighter/monitoring
fighter/nextcloud
fighter/plex
fighter/vandam
fighter/wireguard
Use the following format:
Install Latest Docker (and Compose) for Debian 12
Tested on
fighter
a. Add Docker's GPG key to the keyring with
sudo install -m 0755 -d /etc/apt/keyrings && sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && sudo chmod a+r /etc/apt/keyrings/docker.asc
.b. Add the repository to apt with
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
.c. Fetch the package list with
sudo apt-get update
.sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
docker compose version
. Should be >=v2.24.0
.Install Latest Compose for Debian 11
Tested on
druid
Because Debian 11 has been suspended, the latest version of Compose available is
v2.0.1
. We needv2.24.0
.sudo curl -SL https://github.com/docker/compose/releases/download/v2.24.5/docker-compose-linux-x86_64 -o /usr/local/lib/docker/cli-plugins/docker-compose
to overwrite the plugin with versionv2.24.5
./usr/bin/docker-compose
plugin. Runsudo rm /usr/bin/docker-compose
.docker-compose
command with a simple alias. Runecho 'docker compose "$@"' | sudo tee /usr/bin/docker-compose
.docker compose version
, followed bydocker-compose version
. Both should returnDocker Compose version v2.24.5
.I'm not sure if this is such a good idea. Gonna sleep on it.