2019-01-26 16:54:45 +00:00
|
|
|
---
|
2020-04-12 14:34:52 +00:00
|
|
|
- name: gitea network
|
|
|
|
docker_network:
|
|
|
|
name: gitea
|
|
|
|
|
2019-02-13 07:41:41 +00:00
|
|
|
# old DNS: 138.68.71.153
|
2019-01-26 16:54:45 +00:00
|
|
|
- name: gitea container
|
|
|
|
docker_container:
|
|
|
|
name: gitea
|
2020-08-31 16:24:47 +00:00
|
|
|
image: gitea/gitea:1.12.3
|
2019-02-12 17:34:59 +00:00
|
|
|
restart_policy: unless-stopped
|
2019-01-26 16:54:45 +00:00
|
|
|
networks:
|
|
|
|
- name: gitea
|
|
|
|
- name: external_services
|
|
|
|
volumes:
|
2019-03-02 20:30:54 +00:00
|
|
|
- "{{ gitea.volume_folder }}:/data"
|
2019-01-26 16:54:45 +00:00
|
|
|
published_ports:
|
2019-02-12 17:34:59 +00:00
|
|
|
- "22:22"
|
2019-01-26 16:54:45 +00:00
|
|
|
env:
|
|
|
|
VIRTUAL_HOST: "{{ gitea.domain }}"
|
2019-02-13 07:41:41 +00:00
|
|
|
VIRTUAL_PORT: "3000"
|
2019-01-26 16:54:45 +00:00
|
|
|
LETSENCRYPT_HOST: "{{ gitea.domain }}"
|
|
|
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
2022-01-20 13:48:04 +00:00
|
|
|
GITEA__mailer__ENABLED: true
|
|
|
|
GITEA__mailer__FROM: "noreply@{{ gitea.domain }}"
|
|
|
|
GITEA__mailer__MAILER_TYPE: smtp
|
|
|
|
GITEA__security__LOGIN_REMEMBER_DAYS: "60"
|