Use 1.16.8 and use env vars for gitea config
This commit is contained in:
parent
805237c8a0
commit
a9e4f51e1c
22
gitea.yaml
22
gitea.yaml
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
- name: Build Gitea image
|
- name: Build Gitea image
|
||||||
docker_image:
|
docker_image:
|
||||||
name: gitea_with_asciidoc
|
name: gitea
|
||||||
source: build
|
source: build
|
||||||
build:
|
build:
|
||||||
path: "./gitea"
|
path: "./gitea"
|
||||||
|
@ -54,8 +54,8 @@
|
||||||
docker_container:
|
docker_container:
|
||||||
name: "{{ stack_prefix_name }}gitea"
|
name: "{{ stack_prefix_name }}gitea"
|
||||||
recreate: true
|
recreate: true
|
||||||
restart_policy: unless-stopped
|
restart_policy: always
|
||||||
image: gitea/gitea:1.16.8
|
image: gitea
|
||||||
published_ports:
|
published_ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
env:
|
env:
|
||||||
|
@ -83,11 +83,27 @@
|
||||||
"GITEA__server__LFS_CONTENT_PATH": /app/gitea/data/lfs
|
"GITEA__server__LFS_CONTENT_PATH": /app/gitea/data/lfs
|
||||||
"GITEA__server__LFS_JWT_SECRET": "{{ secret_gitea_lfs_jwt_secret }}"
|
"GITEA__server__LFS_JWT_SECRET": "{{ secret_gitea_lfs_jwt_secret }}"
|
||||||
"GITEA__server__OFFLINE_MODE": "false"
|
"GITEA__server__OFFLINE_MODE": "false"
|
||||||
|
"GITEA__service__REGISTER_EMAIL_CONFIRM": "false"
|
||||||
|
"GITEA__service__ENABLE_NOTIFY_MAIL": "false"
|
||||||
|
"GITEA__service__DISABLE_REGISTRATION": "true"
|
||||||
|
"GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION": "false"
|
||||||
|
"GITEA__service__ENABLE_CAPTCHA": "false"
|
||||||
|
"GITEA__service__REQUIRE_SIGNIN_VIEW": "false"
|
||||||
|
"GITEA__service__DEFAULT_KEEP_EMAIL_PRIVATE": "true"
|
||||||
|
"GITEA__service__DEFAULT_ALLOW_CREATE_ORGANIZATION": "true"
|
||||||
|
"GITEA__service__DEFAULT_ENABLE_TIMETRACKING": "true"
|
||||||
|
"GITEA__service__NO_REPLY_ADDRESS": noreply.code.sean.wtf
|
||||||
|
"GITEA__picture__DISABLE_GRAVATAR": "false"
|
||||||
|
"GITEA__picture__ENABLE_FEDERATED_AVATAR": "true"
|
||||||
|
"GITEA__openid__ENABLE_OPENID_SIGNIN": "false"
|
||||||
|
"GITEA__openid__ENABLE_OPENID_SIGNUP": "false"
|
||||||
networks:
|
networks:
|
||||||
- name: "{{ stack_internal_network }}"
|
- name: "{{ stack_internal_network }}"
|
||||||
- name: "{{ stack_external_network }}"
|
- name: "{{ stack_external_network }}"
|
||||||
# May need to open ssh ports for some things. Maybe not.
|
# May need to open ssh ports for some things. Maybe not.
|
||||||
mounts:
|
mounts:
|
||||||
|
- source: "{{ stack_prefix_name}}gitea_repositories"
|
||||||
|
target: /app/gitea/data/gitea-repositories
|
||||||
- source: "{{ stack_prefix_name }}gitea_data"
|
- source: "{{ stack_prefix_name }}gitea_data"
|
||||||
target: /data
|
target: /data
|
||||||
- source: /etc/timezone
|
- source: /etc/timezone
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM gitea/gitea:1.17.0-rc1
|
FROM gitea/gitea:1.16.8
|
||||||
|
|
||||||
COPY app.ini /data/gitea/conf/app.ini
|
COPY app.ini /data/gitea/conf/app.ini
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue