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"
|
version: "3.8"
|
||||||
|
|
||||||
networks:
|
|
||||||
gitea:
|
|
||||||
external: false
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
server:
|
gitea:
|
||||||
image: gitea/gitea:latest
|
image: gitea/gitea:latest
|
||||||
container_name: gitea
|
container_name: gitea
|
||||||
environment:
|
environment:
|
||||||
@@ -16,33 +12,38 @@ services:
|
|||||||
- GITEA__database__NAME=gitea
|
- GITEA__database__NAME=gitea
|
||||||
- GITEA__database__USER=gitea
|
- GITEA__database__USER=gitea
|
||||||
- GITEA__database__PASSWD=A68nMCsvzyvueYwE
|
- GITEA__database__PASSWD=A68nMCsvzyvueYwE
|
||||||
- SSH_DOMAIN=gitea.provenue.de
|
- SSH_DOMAIN=git.zinomedia.de
|
||||||
- ROOT_URL=https://git.zinomedia.de
|
- ROOT_URL=https://git.zinomedia.de
|
||||||
- SSH_PORT=222
|
- SSH_PORT=222
|
||||||
- SSH_LISTEN_PORT=22
|
- SSH_LISTEN_PORT=22
|
||||||
restart: "no"
|
restart: "unless-stopped"
|
||||||
networks:
|
|
||||||
- gitea
|
|
||||||
volumes:
|
volumes:
|
||||||
- /home/zino/projects/dockers/gitea/volumes/gitea-data:/data
|
- ./volumes/gitea-data:/data
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- "8083:3000"
|
- "8083:3000"
|
||||||
- "222:22"
|
- "222:22"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
networks:
|
||||||
|
- web
|
||||||
|
|
||||||
db:
|
gitea-mariadb:
|
||||||
image: linuxserver/mariadb:latest
|
image: linuxserver/mariadb:latest
|
||||||
container_name: gitea-mariadb
|
container_name: gitea-mariadb
|
||||||
restart: "no"
|
restart: "unless-stopped"
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=gitea
|
- MYSQL_ROOT_PASSWORD=gitea
|
||||||
- MYSQL_USER=gitea
|
- MYSQL_USER=gitea
|
||||||
- MYSQL_PASSWORD=A68nMCsvzyvueYwE
|
- MYSQL_PASSWORD=A68nMCsvzyvueYwE
|
||||||
- MYSQL_DATABASE=gitea
|
- MYSQL_DATABASE=gitea
|
||||||
networks:
|
|
||||||
- gitea
|
|
||||||
volumes:
|
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