Switch to stable gitea image
This commit is contained in:
parent
a18f3df632
commit
485755bc42
1 changed files with 16 additions and 16 deletions
|
@ -1,9 +1,9 @@
|
||||||
version: '2'
|
version: "2"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gitea:
|
gitea:
|
||||||
container_name: gitea
|
container_name: gitea
|
||||||
image: gitea/gitea:latest
|
image: gitea/gitea:1
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Helsinki
|
- TZ=Europe/Helsinki
|
||||||
- USER_UID=1000
|
- USER_UID=1000
|
||||||
|
@ -18,28 +18,28 @@ services:
|
||||||
- gitea
|
- gitea
|
||||||
- proxy
|
- proxy
|
||||||
ports:
|
ports:
|
||||||
- '3000:3000'
|
- "3000:3000"
|
||||||
- '222:22'
|
- "222:22"
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb-gitea
|
- mariadb-gitea
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/gitea/gitea:/data
|
- /docker/gitea/gitea:/data
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
labels:
|
labels:
|
||||||
- 'traefik.enable=true'
|
- "traefik.enable=true"
|
||||||
|
|
||||||
- 'traefik.http.routers.gitea-redirect.entrypoints=http'
|
- "traefik.http.routers.gitea-redirect.entrypoints=http"
|
||||||
- 'traefik.http.routers.gitea-redirect.rule=Host(`git.reekynet.com`)'
|
- "traefik.http.routers.gitea-redirect.rule=Host(`git.reekynet.com`)"
|
||||||
- 'traefik.http.middlewares.http2https.redirectscheme.scheme=https'
|
- "traefik.http.middlewares.http2https.redirectscheme.scheme=https"
|
||||||
- 'traefik.http.routers.gitea-redirect.middlewares=http2https'
|
- "traefik.http.routers.gitea-redirect.middlewares=http2https"
|
||||||
|
|
||||||
- 'traefik.http.routers.gitea.entrypoints=https'
|
- "traefik.http.routers.gitea.entrypoints=https"
|
||||||
- 'traefik.http.routers.gitea.rule=Host(`git.reekynet.com`)'
|
- "traefik.http.routers.gitea.rule=Host(`git.reekynet.com`)"
|
||||||
- 'traefik.http.routers.gitea.tls=true'
|
- "traefik.http.routers.gitea.tls=true"
|
||||||
- 'traefik.http.routers.gitea.tls.certresolver=http'
|
- "traefik.http.routers.gitea.tls.certresolver=http"
|
||||||
- 'traefik.http.routers.gitea.service=gitea'
|
- "traefik.http.routers.gitea.service=gitea"
|
||||||
- 'traefik.docker.network=proxy'
|
- "traefik.docker.network=proxy"
|
||||||
- 'traefik.http.services.gitea.loadbalancer.server.port=3000'
|
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
|
||||||
|
|
||||||
mariadb-gitea:
|
mariadb-gitea:
|
||||||
container_name: mariadb-gitea
|
container_name: mariadb-gitea
|
||||||
|
|
Loading…
Reference in a new issue