add gitea.yml docker compose file
This commit is contained in:
parent
29ad23cf5a
commit
bd12c5ddf1
28
gitea.yml
Normal file
28
gitea.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
version: '3.6'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
gitea:
|
||||||
|
external: false
|
||||||
|
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
image: gitea/gitea:1.13.2
|
||||||
|
container_name: gitea
|
||||||
|
environment:
|
||||||
|
GITEA__database__DB_TYPE: postgres
|
||||||
|
GITEA__database__HOST: 10.0.0.2:5432
|
||||||
|
GITEA__database__NAME: db
|
||||||
|
GITEA__database__USER: user
|
||||||
|
GITEA__database__PASSWD: password
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- gitea
|
||||||
|
volumes:
|
||||||
|
- ./gitea:/data
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
ports:
|
||||||
|
- '3000:3000'
|
||||||
|
- '2222:2222'
|
||||||
|
- '443:443'
|
||||||
|
- '80:3000'
|
Loading…
Reference in New Issue
Block a user