Gitea with Let's Encrypt in a Docker Compose
This commit is contained in:
parent
80f3353d90
commit
16abe4df30
@ -24,7 +24,7 @@ volumes:
|
|||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
# Image tag (replace with yours)
|
# Image tag (replace with yours)
|
||||||
image: postgres:13.2
|
image: postgres:14
|
||||||
volumes:
|
volumes:
|
||||||
- gitea-postgres:/var/lib/postgresql/data
|
- gitea-postgres:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
@ -43,7 +43,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
gitea:
|
gitea:
|
||||||
image: gitea/gitea:1.14
|
image: gitea/gitea:1.17
|
||||||
volumes:
|
volumes:
|
||||||
- gitea-data:/data
|
- gitea-data:/data
|
||||||
- gitea-config:/etc/gitea
|
- gitea-config:/etc/gitea
|
||||||
@ -91,7 +91,7 @@ services:
|
|||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
# Image tag (replace with yours)
|
# Image tag (replace with yours)
|
||||||
image: traefik:2.4
|
image: traefik:2.8
|
||||||
command:
|
command:
|
||||||
- "--log.level=WARN"
|
- "--log.level=WARN"
|
||||||
- "--accesslog=true"
|
- "--accesslog=true"
|
||||||
@ -148,7 +148,7 @@ services:
|
|||||||
|
|
||||||
backups:
|
backups:
|
||||||
# Image tag (replace with yours)
|
# Image tag (replace with yours)
|
||||||
image: postgres:13.2
|
image: postgres:14
|
||||||
# Database backups prune interval (replace with yours). Default is 7 days.
|
# Database backups prune interval (replace with yours). Default is 7 days.
|
||||||
# find /srv/gitea-postgres/backups -type f -mtime +7 | xargs rm -f
|
# find /srv/gitea-postgres/backups -type f -mtime +7 | xargs rm -f
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user