Merge branch 'master' of ssh://gitea.adminakademia.pl:2222/adminakademia/Docker

This commit is contained in:
jarkarc 2023-08-08 18:04:17 +02:00
commit ed1e23bdf8
4 changed files with 125 additions and 0 deletions

View File

@ -0,0 +1,29 @@
version: '3'
services:
db:
image: postgres
volumes:
- /docker/joplin:/var/lib/postgresql/data
ports:
- "5433:5432"
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=tajemnehaslodobazy
- POSTGRES_USER=joplin
- POSTGRES_DB=joplin
app:
image: joplin/server:latest
depends_on:
- db
ports:
- "22300:22300"
restart: unless-stopped
environment:
- APP_PORT=22300
- APP_BASE_URL=https://joplin.karcewicz.pl
- DB_CLIENT=pg
- POSTGRES_PASSWORD=tajemnehaslodobazy
- POSTGRES_DATABASE=postgres
- POSTGRES_USER=joplin
- POSTGRES_PORT=5432
- POSTGRES_HOST=db

View File

@ -0,0 +1,44 @@
version: "3"
services:
shlink:
image: shlinkio/shlink:stable
restart: always
container_name: shlink-backend
environment:
- TZ="Europe/Warsaw"
- DEFAULT_DOMAIN=link.mojastrona.pl #bez http czy https z przodu, sama domena pod ktora bedzie dostepna usluga
- IS_HTTPS_ENABLED=false
- GEOLITE_LICENSE_KEY=sA9bzAe5R?E!oi7B #nalezy uzyskac ten klucz ze strony maxmind.com
- DB_DRIVER=maria
- DB_USER=shlink #uzytkownik taki jak podany nizej w MARIADB_DATABASE
- DB_NAME=shlink #nazwa bazy danych taka jak podana nizej MARIADB_DATABASE
- DB_PASSWORD=haslo #haslo do bazy danych takie same jak nizej w MARIADB_PASSWORD
- DB_HOST=database
depends_on:
- database
ports:
- 8987:8080
database:
image: mariadb:latest
restart: always
container_name: shlink-database
environment:
- MARIADB_ROOT_PASSWORD=haslo_admina_do_bazy_danych
- MARIADB_DATABASE=shlink
- MARIADB_USER=shlink
- MARIADB_PASSWORD=haslo_uzytkownika
volumes:
- /docker/shlink:/var/lib/mysql
shlink-web-client:
image: shlinkio/shlink-web-client
restart: always
container_name: shlink-gui
volumes:
- /docker/shlink/servers.json:/usr/share/nginx/html/servers.json
depends_on:
- shlink
ports:
- 8081:80

View File

@ -0,0 +1,16 @@
version: "2"
services:
adguardhome:
image: adguard/adguardhome
container_name: adguardhome
ports:
- 53:53/tcp #zwyklyDNS
- 53:53/udp #zwyklyDNS
- 853:853/tcp #DNSoverTLS
- 3000:3000/tcp #adminpanel
- 67:67/udp #serwerdhcp
- 68:68/udp #serwerdhcp
- 68:68/tcp #serwerdhcp
volumes:
- /docker/adguardhome/work:/opt/adguardhome/work
- /docker/adguardhome/conf:/opt/adguardhome/conf

View File

@ -0,0 +1,36 @@
version: '3'
networks:
rustdesk-net:
external: false
services:
hbbs:
container_name: hbbs
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21118:21118
image: rustdesk/rustdesk-server
command: hbbs -r rustdesk.mojadomena.pl:21117
volumes:
- /docker/rustdesk:/root
networks:
- rustdesk-net
depends_on:
- hbbr
restart: always
hbbr:
container_name: hbbr
ports:
- 21117:21117
- 21119:21119
image: rustdesk/rustdesk-server
command: hbbr
volumes:
- /docker/rustdesk:/root
networks:
- rustdesk-net
restart: always