add the files
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
---
|
||||
services:
|
||||
gitea:
|
||||
image: docker.gitea.com/gitea:latest
|
||||
container_name: gitea
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 100.70.0.2:43000:3000
|
||||
networks:
|
||||
- caddy
|
||||
- postgres
|
||||
volumes:
|
||||
- /etc/ssl/certs:/etc/ssl/certs:ro # Use certs from host
|
||||
- gitea:/data
|
||||
- ./conf:/data/gitea/conf
|
||||
- /srv/git:/data/git
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- GITEA__database__DB_TYPE=postgres
|
||||
- GITEA__database__HOST=postgres:5432
|
||||
- GITEA__database__NAME=gitea
|
||||
- GITEA__database__USER=gitea
|
||||
- GITEA__database__PASSWD=
|
||||
|
||||
networks:
|
||||
caddy:
|
||||
name: "caddy"
|
||||
external: true
|
||||
postgres:
|
||||
name: "postgres"
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
gitea:
|
||||
Reference in New Issue
Block a user