Erster Commit
This commit is contained in:
52
gitea/config/docker-compose.yml
Normal file
52
gitea/config/docker-compose.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
gitea_db:
|
||||
image: mariadb
|
||||
container_name: gitea_db
|
||||
volumes:
|
||||
- ~/Container/gitea/files/db:/var/lib/mysql
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=Gsw09Vw
|
||||
- MYSQL_PASSWORD=Gsw09Vw
|
||||
- MYSQL_DATABASE=gitea
|
||||
- MYSQL_USER=gitea
|
||||
restart: always
|
||||
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
container_name: gitea
|
||||
depends_on:
|
||||
- gitea_db
|
||||
environment:
|
||||
- DOMAIN=gitea.troche.koeln
|
||||
- SSH_DOMAIN=gitea.troche.koeln
|
||||
- DB_TYPE=mysql
|
||||
- DB_HOST=gitea_db:3306
|
||||
- DB_NAME=gitea
|
||||
- DB_USER=gitea
|
||||
- DB_PASSWD=Gsw09Vw
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- VIRTUAL_HOST=gitea.troche.koeln
|
||||
- LETSENCRYPT_HOST=gitea.troche.koeln
|
||||
- LETSENCRYPT_EMAIL=ariane@familie-troche.de
|
||||
- VIRTUAL_PORT=3000
|
||||
restart: always
|
||||
volumes:
|
||||
- ~/Container/gitea/files/data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "2222:22"
|
||||
expose:
|
||||
- 80
|
||||
- 443
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: nginx-proxy
|
||||
|
||||
Reference in New Issue
Block a user