Browse Source

feat: add orig compose file

master
bucde 3 years ago
parent
commit
37ba857b60
1 changed files with 28 additions and 0 deletions
  1. +28
    -0
      docker-compose.yml

+ 28
- 0
docker-compose.yml View File

@ -0,0 +1,28 @@
version: "3"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:1.13.2
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
- DB_TYPE=mysql
- DB_HOST=ubuntu-dev0.dmz:3306
- DB_NAME=gitea
- DB_USER=gitea
- DB_PASSWD=password
restart: always
networks:
- gitea
volumes:
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 10.29.0.150:3000:3000
- 10.29.0.150:222:22

Loading…
Cancel
Save