init
This commit is contained in:
21
gitea/docker-compose.yml
Normal file
21
gitea/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: "2"
|
||||
services:
|
||||
web:
|
||||
image: gitea/gitea:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /raid-pool/samba/webservers/gitea/data:/data
|
||||
ports:
|
||||
- "5022:3000"
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
image: mariadb:10
|
||||
restart: always
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=password
|
||||
- MYSQL_DATABASE=gitea
|
||||
- MYSQL_USER=gitea
|
||||
- MYSQL_PASSWORD=password
|
||||
volumes:
|
||||
- /raid-pool/samba/webservers/gitea/db:/var/lib/mysql
|
||||
Reference in New Issue
Block a user