--- - name: gitea network docker_network: name: gitea # old DNS: 138.68.71.153 - name: gitea container docker_container: name: gitea image: gitea/gitea:1.15.7 restart_policy: unless-stopped networks: - name: gitea - name: external_services volumes: - "{{ gitea.volume_folder }}:/data" published_ports: - "22:22" env: VIRTUAL_HOST: "{{ gitea.domain }}" VIRTUAL_PORT: "3000" LETSENCRYPT_HOST: "{{ gitea.domain }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" # Gitea customization, see: https://docs.gitea.io/en-us/install-with-docker/#customization # https://docs.gitea.io/en-us/config-cheat-sheet/#security-security GITEA__security__PASSWORD_COMPLEXITY: "off" GITEA__security__MIN_PASSWORD_LENGTH: "8" GITEA__security__PASSWORD_CHECK_PWN: "true"