changes files
This commit is contained in:
parent
1b6c5fc0ea
commit
d3f22c2a70
|
@ -2,4 +2,7 @@ alias cat = bat
|
|||
|
||||
alias tt = toot tui
|
||||
alias ts = toot search
|
||||
alias tf = toot follow
|
||||
alias tf = toot follow
|
||||
|
||||
alias clc = cargo-install-update install-update -l
|
||||
alias cua = cargo-install-update install-update --all
|
||||
|
|
38
compose.yml
Normal file
38
compose.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
version: '3'
|
||||
|
||||
networks:
|
||||
forgejo:
|
||||
external: false
|
||||
|
||||
services:
|
||||
server:
|
||||
image: codeberg.org/forgejo/forgejo:7
|
||||
container_name: forgejo
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
restart: always
|
||||
networks:
|
||||
- forgejo
|
||||
volumes:
|
||||
- ./forgejo:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- '3000:3000'
|
||||
- '222:22'
|
||||
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: postgres:14
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_USER=forgejo
|
||||
- POSTGRES_PASSWORD=forgejo
|
||||
- POSTGRES_DB=forgejo
|
||||
networks:
|
||||
- forgejo
|
||||
volumes:
|
||||
- ./postgres:/var/lib/postgresql/data
|
29
install.sh
Executable file
29
install.sh
Executable file
|
@ -0,0 +1,29 @@
|
|||
echo "Start apt, cargo and rustup upgrade:\n"
|
||||
|
||||
sudo apt-get update
|
||||
|
||||
echo "\nAutoremoving unnecessary packages\n"
|
||||
|
||||
sudo apt autoremove -y
|
||||
|
||||
echo "\nDone autoremove starting list new package upgrades\n"
|
||||
|
||||
sudo apt list --upgradable
|
||||
|
||||
echo "\nDone listing new package upgrades starting package upgrade\n"
|
||||
|
||||
sudo apt-get upgrade -y
|
||||
|
||||
echo "\nDone apt starting cargo\n"
|
||||
|
||||
cargo-install-update install-update --all
|
||||
|
||||
echo "\nDone cargo starting rustup\n"
|
||||
|
||||
rustup self update
|
||||
|
||||
echo "\nDone rustup starting gem\n"
|
||||
|
||||
sudo gem update
|
||||
|
||||
echo "\nFinished updates."
|
|
@ -1,21 +0,0 @@
|
|||
echo "Start apt, cargo and rustup upgrade:\n"
|
||||
|
||||
sudo apt-get update
|
||||
|
||||
echo "\n"
|
||||
|
||||
sudo apt list --upgradable
|
||||
|
||||
echo "\n"
|
||||
|
||||
sudo apt-get install -y
|
||||
|
||||
echo "\nDone apt starting cargo\n"
|
||||
|
||||
cargo-install-update install-update --all
|
||||
|
||||
echo "\nDone cargo starting rustup\n"
|
||||
|
||||
rustup self update
|
||||
|
||||
echo "\nFinished updates."
|
Loading…
Reference in a new issue