You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
665 B

  1. version: "3"
  2. networks:
  3. gitea:
  4. external: false
  5. services:
  6. server:
  7. image: gitea/gitea:1.13.2
  8. container_name: gitea
  9. environment:
  10. - USER_UID=1000
  11. - USER_GID=1000
  12. - DB_TYPE=mysql
  13. - DB_HOST=ubuntu-dev0.dmz:3306
  14. - DB_NAME=gitea
  15. - DB_USER=gitea
  16. - DB_PASSWD=password
  17. restart: always
  18. networks:
  19. - gitea
  20. volumes:
  21. - ./data:/data
  22. - /etc/timezone:/etc/timezone:ro
  23. - /etc/localtime:/etc/localtime:ro
  24. ports:
  25. - 10.29.0.150:3000:3000
  26. - 10.29.0.150:222:22