ansible/roles/docker/tasks/services/gitea.yml

20 lines
485 B
YAML
Raw Normal View History

---
2019-02-13 07:41:41 +00:00
# old DNS: 138.68.71.153
- name: gitea container
docker_container:
name: gitea
2020-02-27 08:44:33 +00:00
image: gitea/gitea:1.11.1
2019-02-12 17:34:59 +00:00
restart_policy: unless-stopped
networks:
- name: gitea
- name: external_services
volumes:
- "{{ gitea.volume_folder }}:/data"
published_ports:
2019-02-12 17:34:59 +00:00
- "22:22"
env:
VIRTUAL_HOST: "{{ gitea.domain }}"
2019-02-13 07:41:41 +00:00
VIRTUAL_PORT: "3000"
LETSENCRYPT_HOST: "{{ gitea.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"