modified
This commit is contained in:
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Ignore everything in the volume folder
|
||||
volume/*
|
||||
|
||||
# But not the .gitkeep file
|
||||
!volume/.gitkeep
|
||||
@@ -1,11 +1,7 @@
|
||||
version: "3"
|
||||
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
server:
|
||||
gitea:
|
||||
image: gitea/gitea:latest
|
||||
container_name: gitea
|
||||
environment:
|
||||
@@ -16,15 +12,13 @@ services:
|
||||
- GITEA__database__NAME=gitea
|
||||
- GITEA__database__USER=gitea
|
||||
- GITEA__database__PASSWD=A68nMCsvzyvueYwE
|
||||
- SSH_DOMAIN=gitea.provenue.de
|
||||
- SSH_DOMAIN=git.zinomedia.de
|
||||
- ROOT_URL=https://git.zinomedia.de
|
||||
- SSH_PORT=222
|
||||
- SSH_LISTEN_PORT=22
|
||||
restart: "no"
|
||||
networks:
|
||||
- gitea
|
||||
restart: "unless-stopped"
|
||||
volumes:
|
||||
- /home/zino/projects/dockers/gitea/volumes/gitea-data:/data
|
||||
- ./volumes/gitea-data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
@@ -32,17 +26,24 @@ services:
|
||||
- "222:22"
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- web
|
||||
|
||||
db:
|
||||
gitea-mariadb:
|
||||
image: linuxserver/mariadb:latest
|
||||
container_name: gitea-mariadb
|
||||
restart: "no"
|
||||
restart: "unless-stopped"
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=gitea
|
||||
- MYSQL_USER=gitea
|
||||
- MYSQL_PASSWORD=A68nMCsvzyvueYwE
|
||||
- MYSQL_DATABASE=gitea
|
||||
networks:
|
||||
- gitea
|
||||
volumes:
|
||||
- /home/zino/projects/dockers/gitea/volumes/db:/config
|
||||
- ./volumes/db:/config
|
||||
networks:
|
||||
- web
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
name: web
|
||||
|
||||
0
volumes/.gitkeep
Normal file
0
volumes/.gitkeep
Normal file
Reference in New Issue
Block a user