initial commit

This commit is contained in:
fabian 2022-05-01 20:37:37 +02:00
commit a78d4f17b5
5 changed files with 2832 additions and 0 deletions

42
gitea/docker-compose.yml Normal file
View File

@ -0,0 +1,42 @@
version: "3"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=db:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
restart: always
networks:
- gitea
volumes:
- ./gitea:/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=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
networks:
- gitea
volumes:
- ./postgres:/var/lib/postgresql/data

View File

@ -0,0 +1,11 @@
1. a+-Eintrag beim DNS-provider einrichten
2. ddclient eintrag für subdomain
3. nginx:
a. certbot neue domain zertifizieren lassen
b. nginx.config anpassen
4. docker-compose.yml erstellen inkl. 2. Service (postgres)
5. docker-compose run --rm [...]
6. homeserver.yaml anpassen -> db host = docker-containername von postgres
7. docker-compose up -d
-- X. turn-server inkl. eigener IP-Adresse aufsetzen?

View File

@ -0,0 +1,51 @@
# https://github.com/matrix-org/synapse/blob/develop/contrib/docker/docker-compose.yml
# This compose file is compatible with Compose itself, it might need some
# adjustments to run properly with stack.
version: '3.7'
services:
synapse:
build:
context: ../..
dockerfile: docker/Dockerfile
image: docker.io/matrixdotorg/synapse:latest
# Since synapse does not retry to connect to the database, restart upon
# failure
restart: on-failure:10
# See the readme for a full documentation of the environment settings
# NOTE: You must edit homeserver.yaml to use postgres, it defaults to sqlite
environment:
SYNAPSE_CONFIG_PATH: "/data/homeserver.yaml"
SYNAPSE_SERVER_NAME: "matrix.szimnau.de"
SYNAPSE_REPORT_STATS: "yes"
volumes:
# You may either store all the files in a local folder
- ./files:/data
# .. or you may split this between different storage points
# - ./files:/data
# - /path/to/ssd:/data/uploads
# - /path/to/large_hdd:/data/media
depends_on:
- db
# expose the TLS port directly:
ports:
- 8008:8008/tcp
db:
image: docker.io/postgres:latest
# Change that password, of course!
restart: on-failure:10
environment:
POSTGRES_DB: synapse
POSTGRES_USER: synapse
POSTGRES_PASSWORD: uFLC'=hjQ-SWo]f3mDF%
# ensure the database gets created correctly
# https://matrix-org.github.io/synapse/latest/postgres.html#set-up-database
POSTGRES_INITDB_ARGS: "--encoding='UTF-8' --lc-collate='C' --lc-ctype='C'"
volumes:
# You may store the database tables in a local folder..
- ./schemas:/var/lib/postgresql/data
# .. or store them on some high performance storage for better results
# - /path/to/ssd/storage:/var/lib/postgresql/data

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
version: '3.7'
services:
teamspeak3_server:
container_name: Teamspeak3_Server
image: ertagh/teamspeak3-server:arm32v7-latest-box86
ports:
- 9987:9987/udp
- 10011:10011/tcp
- 30033:30033/tcp
volumes:
- /home/edi/docker/teamspeak/workingdir/:/teamspeak/save/
environment:
TIME_ZONE: Europe/Berlin
TS_UPDATE: 1
restart: on-failure:10