Compare commits
No commits in common. "f0faadce9b922ea18a640e78b49acba34ad79d08" and "dee7a99b5a28c5816bc7ab6ae784f133ff9e3a32" have entirely different histories.
f0faadce9b
...
dee7a99b5a
15 changed files with 98 additions and 82 deletions
|
@ -248,6 +248,3 @@ profiles:
|
||||||
localhost:
|
localhost:
|
||||||
include:
|
include:
|
||||||
- terminal
|
- terminal
|
||||||
ViiruJaTeippi:
|
|
||||||
include:
|
|
||||||
- terminal
|
|
||||||
|
|
1
docker/auth/.gitignore
vendored
1
docker/auth/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
.env
|
|
|
@ -1,20 +0,0 @@
|
||||||
version: "2"
|
|
||||||
|
|
||||||
services:
|
|
||||||
openldap:
|
|
||||||
container_name: openldap
|
|
||||||
image: osixia/openldap:stable
|
|
||||||
environment:
|
|
||||||
- TZ=Europe/Helsinki
|
|
||||||
- LDAP_ORGANIZATION="Korhonen"
|
|
||||||
- LDAP_DOMAIN="korhonen.cc"
|
|
||||||
- LDAP_ADMIN_PASSWORD="${LDAP_ADMIN_PASSWORD}"
|
|
||||||
hostname: ldap.korhonen.cc
|
|
||||||
ports:
|
|
||||||
- 389:389
|
|
||||||
- 636:636
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- /docker/auth/openldap/ldap:/var/lib/ldap
|
|
||||||
- /docker/auth/openldap/slapd.d:/etc/ldap/slapd.d
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
|
@ -8,13 +8,14 @@ services:
|
||||||
- freshrss
|
- freshrss
|
||||||
- postgres
|
- postgres
|
||||||
- proxy
|
- proxy
|
||||||
|
ports:
|
||||||
|
- 8088:80
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=985
|
- PGID=985
|
||||||
- TZ=Europe/Helsinki
|
- TZ=Europe/Helsinki
|
||||||
depends_on:
|
depends_on:
|
||||||
- spotifeed
|
- spotifeed
|
||||||
- bibliogram
|
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/freshrss/freshrss:/config
|
- /docker/freshrss/freshrss:/config
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
@ -38,28 +39,11 @@ services:
|
||||||
build: ./spotifeed
|
build: ./spotifeed
|
||||||
image: spotifeed
|
image: spotifeed
|
||||||
container_name: spotifeed
|
container_name: spotifeed
|
||||||
environment:
|
ports:
|
||||||
- SPOTIFY_CLIENT_ID=${SPOTIFY_CLIENT_ID}
|
- 8083:8083
|
||||||
- SPOTIFY_CLIENT_SECRET=${SPOTIFY_CLIENT_SECRET}
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- freshrss
|
- freshrss
|
||||||
- proxy
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
|
|
||||||
- "traefik.http.routers.spotifeed-redirect.entrypoints=http"
|
|
||||||
- "traefik.http.routers.spotifeed-redirect.rule=Host(`spotifeed.korhonen.cc`)"
|
|
||||||
- "traefik.http.middlewares.http2https.redirectscheme.scheme=https"
|
|
||||||
- "traefik.http.routers.spotifeed-redirect.middlewares=http2https"
|
|
||||||
|
|
||||||
- "traefik.http.routers.spotifeed.entrypoints=https"
|
|
||||||
- "traefik.http.routers.spotifeed.rule=Host(`spotifeed.korhonen.cc`)"
|
|
||||||
- "traefik.http.routers.spotifeed.tls=true"
|
|
||||||
- "traefik.http.routers.spotifeed.tls.certresolver=http"
|
|
||||||
- "traefik.http.routers.spotifeed.service=spotifeed"
|
|
||||||
- "traefik.docker.network=proxy"
|
|
||||||
- "traefik.http.services.spotifeed.loadbalancer.server.port=8083"
|
|
||||||
|
|
||||||
bibliogram:
|
bibliogram:
|
||||||
image: cloudrac3r/bibliogram
|
image: cloudrac3r/bibliogram
|
||||||
|
|
|
@ -64,9 +64,37 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- home-assistant
|
- home-assistant
|
||||||
|
- opentts
|
||||||
devices:
|
devices:
|
||||||
- "/dev/snd:/dev/snd"
|
- "/dev/snd:/dev/snd"
|
||||||
|
|
||||||
|
opentts:
|
||||||
|
image: synesthesiam/opentts
|
||||||
|
container_name: opentts
|
||||||
|
ports:
|
||||||
|
- 5500:5500
|
||||||
|
command: --marytts-url http://marytts:59125 --mozillatts-url http://mozillatts:5002
|
||||||
|
tty: true
|
||||||
|
networks:
|
||||||
|
- homeautomation
|
||||||
|
depends_on:
|
||||||
|
- marytts
|
||||||
|
- mozillatts
|
||||||
|
restart: unless-stopped
|
||||||
|
marytts:
|
||||||
|
image: synesthesiam/marytts:5.2
|
||||||
|
container_name: marytts
|
||||||
|
restart: unless-stopped
|
||||||
|
tty: true
|
||||||
|
networks:
|
||||||
|
- homeautomation
|
||||||
|
mozillatts:
|
||||||
|
image: synesthesiam/mozilla-tts
|
||||||
|
container_name: mozillatts
|
||||||
|
tty: true
|
||||||
|
networks:
|
||||||
|
- homeautomation
|
||||||
|
|
||||||
node-red:
|
node-red:
|
||||||
container_name: node-red
|
container_name: node-red
|
||||||
image: nodered/node-red
|
image: nodered/node-red
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
version: "2.3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
jellyfin:
|
jellyfin:
|
||||||
image: jellyfin/jellyfin
|
image: jellyfin/jellyfin
|
||||||
container_name: jellyfin
|
container_name: jellyfin
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Helsinki
|
- TZ=Europe/Helsinki
|
||||||
- NVIDIA_DRIVER_CAPABILITIES=all
|
user: "1000:985"
|
||||||
- NVIDIA_VISIBLE_DEVICES=all
|
|
||||||
ports:
|
ports:
|
||||||
- "8096:8096"
|
- "8096:8096"
|
||||||
networks:
|
networks:
|
||||||
|
@ -17,8 +16,6 @@ services:
|
||||||
- /docker/jellyfin/cache:/cache
|
- /docker/jellyfin/cache:/cache
|
||||||
- /mnt/Storage/Media:/media
|
- /mnt/Storage/Media:/media
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
devices:
|
|
||||||
- /dev/dri:/dev/dri
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,9 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- /docker/træfik/træfik/traefik.yml:/traefik.yml:ro
|
- /docker/traefik/traefik.yml:/traefik.yml:ro
|
||||||
- /docker/træfik/træfik/dashboard-users:/dashboard-users:ro
|
- /docker/traefik/dashboard-users:/dashboard-users:ro
|
||||||
- /docker/træfik/træfik/acme.json:/acme.json
|
- /docker/traefik/acme.json:/acme.json
|
||||||
- /docker/træfik/træfik/log:/var/log
|
|
||||||
labels:
|
labels:
|
||||||
- 'traefik.enable=true'
|
- 'traefik.enable=true'
|
||||||
|
|
||||||
|
@ -37,17 +36,6 @@ services:
|
||||||
- 'traefik.http.routers.dashboard.tls.certresolver=http'
|
- 'traefik.http.routers.dashboard.tls.certresolver=http'
|
||||||
- 'traefik.http.routers.dashboard.service=api@internal'
|
- 'traefik.http.routers.dashboard.service=api@internal'
|
||||||
|
|
||||||
fail2ban:
|
|
||||||
image: crazymax/fail2ban:latest
|
|
||||||
container_name: fail2ban
|
|
||||||
restart: unless-stopped
|
|
||||||
network_mode: "host"
|
|
||||||
cap_add:
|
|
||||||
- NET_ADMIN
|
|
||||||
- NET_RAW
|
|
||||||
volumes:
|
|
||||||
- /docker/træfik/træfik/log:/var/log/træfik:ro
|
|
||||||
- /docker/træfik/fail2ban:/data
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
54
docker/wordpress/docker-compose.yaml
Normal file
54
docker/wordpress/docker-compose.yaml
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
version: "3.3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
wordpress:
|
||||||
|
container_name: wordpress
|
||||||
|
image: wordpress:latest
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Helsinki
|
||||||
|
- WORDPRESS_DB_HOST=mariadb-wordpress:3306
|
||||||
|
- WORDPRESS_DB_USER=wordpress
|
||||||
|
- WORDPRESS_DB_PASSWORD=wordpress
|
||||||
|
- WORDPRESS_DB_NAME=wordpress
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
- wordpress
|
||||||
|
volumes:
|
||||||
|
- /docker/wordpress/wordpress:/var/www/html
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
|
||||||
|
- "traefik.http.routers.wordpress-redirect.entrypoints=http"
|
||||||
|
- "traefik.http.routers.wordpress-redirect.rule=Host(`johanna.korhonen.cc`)"
|
||||||
|
- "traefik.http.middlewares.http2https.redirectscheme.scheme=https"
|
||||||
|
- "traefik.http.routers.wordpress-redirect.middlewares=http2https"
|
||||||
|
|
||||||
|
- "traefik.http.routers.wordpress.entrypoints=https"
|
||||||
|
- "traefik.http.routers.wordpress.rule=Host(`johanna.korhonen.cc`)"
|
||||||
|
- "traefik.http.routers.wordpress.tls=true"
|
||||||
|
- "traefik.http.routers.wordpress.tls.certresolver=http"
|
||||||
|
- "traefik.http.routers.wordpress.service=wordpress"
|
||||||
|
- "traefik.docker.network=proxy"
|
||||||
|
- "traefik.http.services.wordpress.loadbalancer.server.port=80"
|
||||||
|
|
||||||
|
mariadb-wordpress:
|
||||||
|
image: mariadb
|
||||||
|
container_name: mariadb-wordpress
|
||||||
|
volumes:
|
||||||
|
- /docker/wordpress/mariadb:/var/lib/mysql
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- wordpress
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=oT8Veu3Vre4ohj3E
|
||||||
|
- MYSQL_DATABASE=wordpress
|
||||||
|
- MYSQL_USER=wordpress
|
||||||
|
- MYSQL_PASSWORD=wordpress
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
wordpress:
|
||||||
|
external: false
|
2
dotdrop
2
dotdrop
|
@ -1 +1 @@
|
||||||
Subproject commit 5d4b12eaf44b940ba3a478ded48b1cde039471a6
|
Subproject commit 900f705b30ee07063ecc7f2df24fc7b28a9451a5
|
|
@ -1,5 +1,5 @@
|
||||||
directory: ~/music
|
directory: ~/Music
|
||||||
library: ~/music/beets.db
|
library: ~/Music/beets.db
|
||||||
plugins:
|
plugins:
|
||||||
- acousticbrainz
|
- acousticbrainz
|
||||||
- check
|
- check
|
||||||
|
|
|
@ -17,10 +17,7 @@ mpvqueue %U
|
||||||
^https?://(?:[a-z0-9\-]+\.)+[a-z]{2,6}(?:/[^/#?]+)+\.(?:mp4|mkv|webm|avi|3gp|gif|gifv)
|
^https?://(?:[a-z0-9\-]+\.)+[a-z]{2,6}(?:/[^/#?]+)+\.(?:mp4|mkv|webm|avi|3gp|gif|gifv)
|
||||||
|
|
||||||
mpvqueue %U
|
mpvqueue %U
|
||||||
^https://www.facebook.com/watch/?v=.*
|
^https?://www.facebook.com/.*/videos/
|
||||||
|
|
||||||
mpvqueue %U
|
|
||||||
^https://fb.watch/.*
|
|
||||||
|
|
||||||
mpvqueue %U
|
mpvqueue %U
|
||||||
^https?://gfycat.com/.*
|
^https?://gfycat.com/.*
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
PACKAGER="Marko Korhonen <marko@korhonen.cc>"
|
|
||||||
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
|
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
|
||||||
'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
|
'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
|
||||||
'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
|
'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
|
||||||
|
@ -16,9 +15,8 @@ CARCH="x86_64"
|
||||||
CHOST="x86_64-pc-linux-gnu"
|
CHOST="x86_64-pc-linux-gnu"
|
||||||
|
|
||||||
CPPFLAGS="-D_FORTIFY_SOURCE=2"
|
CPPFLAGS="-D_FORTIFY_SOURCE=2"
|
||||||
CFLAGS="-march=native -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt"
|
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt"
|
||||||
CXXFLAGS="${CFLAGS}"
|
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt"
|
||||||
RUSTFLAGS="-C opt-level=3 -C target-cpu=native"
|
|
||||||
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
|
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
|
||||||
MAKEFLAGS="-j$(nproc)"
|
MAKEFLAGS="-j$(nproc)"
|
||||||
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
|
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
|
||||||
|
|
|
@ -15,7 +15,6 @@ exec {
|
||||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
mpDris2
|
mpDris2
|
||||||
swaymsg workspace 1
|
swaymsg workspace 1
|
||||||
dbus-update-activation-environment DISPLAY
|
|
||||||
}
|
}
|
||||||
|
|
||||||
exec_always {
|
exec_always {
|
||||||
|
|
|
@ -39,7 +39,7 @@ export AUR_PAGER=$PAGER
|
||||||
export GPG_TTY="$(tty)"
|
export GPG_TTY="$(tty)"
|
||||||
|
|
||||||
# set SSH_AUTH_SOCK if not logging in over SSH
|
# set SSH_AUTH_SOCK if not logging in over SSH
|
||||||
if [ "$SSH_CONNECTION" -eq "" ]; then
|
if [ "$SSH_CONNECTION" != "" ]; then
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
gpgconf --launch gpg-agent
|
gpgconf --launch gpg-agent
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -40,8 +40,3 @@ host takamaki
|
||||||
HostName 10.200.200.5
|
HostName 10.200.200.5
|
||||||
port 22
|
port 22
|
||||||
user reekymarko
|
user reekymarko
|
||||||
|
|
||||||
host viirujateippi
|
|
||||||
HostName viirujateippi.fi
|
|
||||||
port 22
|
|
||||||
user functionalhacker
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue