up(etc): system file
This commit is contained in:
parent
48ed651c02
commit
084d731f45
3
VaultWarden/env.cfg
Normal file
3
VaultWarden/env.cfg
Normal file
@ -0,0 +1,3 @@
|
||||
IMAGE_TAG=vaultwarden/server:1.33.2-alpine
|
||||
Volumes_Path=/data/volumes/q
|
||||
Domain=https://passd.6t7.net
|
15
VaultWarden/stack.yml
Normal file
15
VaultWarden/stack.yml
Normal file
@ -0,0 +1,15 @@
|
||||
# path:: mkdir -pv /data/volumes/VaultWarden/data
|
||||
# pull:: docker compose -p memos --env-file ./VaultWarden/env.cfg -f ./VaultWarden/stack.yml pull
|
||||
# run:: docker compose -p memos --env-file ./VaultWarden/env.cfg -f ./VaultWarden/stack.yml up -d
|
||||
|
||||
services:
|
||||
vaultwarden:
|
||||
image: ${IMAGE_TAG}
|
||||
container_name: vaultwarden
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DOMAIN: "${Domain}"
|
||||
volumes:
|
||||
- ${Volumes_Path}/data/:/data/
|
||||
ports:
|
||||
- 5580:80
|
16
etc/profile.d/bash_completion.sh
Normal file
16
etc/profile.d/bash_completion.sh
Normal file
@ -0,0 +1,16 @@
|
||||
# shellcheck shell=sh disable=SC1091,SC2039,SC2166
|
||||
# Check for interactive bash and that we haven't already been sourced.
|
||||
if [ "x${BASH_VERSION-}" != x -a "x${PS1-}" != x -a "x${BASH_COMPLETION_VERSINFO-}" = x ]; then
|
||||
|
||||
# Check for recent enough version of bash.
|
||||
if [ "${BASH_VERSINFO[0]}" -gt 4 ] ||
|
||||
[ "${BASH_VERSINFO[0]}" -eq 4 -a "${BASH_VERSINFO[1]}" -ge 2 ]; then
|
||||
[ -r "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion" ] &&
|
||||
. "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion"
|
||||
if shopt -q progcomp && [ -r /usr/share/bash-completion/bash_completion ]; then
|
||||
# Source completion code.
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
2
etc/profile.d/history.sh
Normal file
2
etc/profile.d/history.sh
Normal file
@ -0,0 +1,2 @@
|
||||
export HISTSIZE=10000
|
||||
export HISTTIMEFORMAT="%F %T `whoami` "
|
Loading…
x
Reference in New Issue
Block a user