Added Gitea
This commit is contained in:
parent
1308c41e83
commit
88a2d50316
@ -1,4 +1,4 @@
|
|||||||
# Working version : 202403040748 : v4 [Minor Update 6/29/2024 for new node id]
|
# Working version : 20240819 : v5 Gitea added
|
||||||
|
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
@ -722,9 +722,44 @@ services:
|
|||||||
cpus: '2'
|
cpus: '2'
|
||||||
memory: 1536M
|
memory: 1536M
|
||||||
|
|
||||||
|
|
||||||
|
gitea:
|
||||||
|
image: gitea/gitea:latest
|
||||||
|
environment:
|
||||||
|
- USER_UID=1000
|
||||||
|
- USER_GID=1000
|
||||||
|
- GITEA__server__ROOT_URL=https://git.pixelus-creative.com
|
||||||
|
- GITEA__database__DB_TYPE=mysql
|
||||||
|
- GITEA__database__HOST=mysql:3306
|
||||||
|
- GITEA__database__NAME=gitea_database
|
||||||
|
- GITEA__database__USER=gitea
|
||||||
|
- GITEA__database__PASSWD=tf1*SUFR0c24jxGA
|
||||||
|
volumes:
|
||||||
|
- /mnt/efs/gitea:/data
|
||||||
|
networks:
|
||||||
|
- shared_network
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.labels.cloud == true
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.gitea.rule=Host(`git.pixelus-creative.com`)"
|
||||||
|
- "traefik.http.routers.gitea.entrypoints=https"
|
||||||
|
- "traefik.http.routers.gitea.tls.certresolver=myresolver"
|
||||||
|
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
|
||||||
|
- "traefik.http.middlewares.gitea-https-redirect.redirectscheme.scheme=https"
|
||||||
|
- "traefik.http.routers.gitea.middlewares=gitea-https-redirect"
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
shared_network:
|
shared_network:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mysql_data:
|
mysql_data:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user