@ -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 |