Compare commits
	
		
			1 Commits
		
	
	
		
			2.0.0+1.18
			...
			postgres-d
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| a88aa78561 | 
							
								
								
									
										10
									
								
								compose.yml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								compose.yml
									
									
									
									
									
								
							@ -3,7 +3,7 @@ version: "3.8"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
services:
 | 
					services:
 | 
				
			||||||
  app:
 | 
					  app:
 | 
				
			||||||
    image: "gitea/gitea:1.18.0-rootless"
 | 
					    image: "gitea/gitea:1.17.3-rootless"
 | 
				
			||||||
    configs:
 | 
					    configs:
 | 
				
			||||||
      - source: app_ini
 | 
					      - source: app_ini
 | 
				
			||||||
        target: /etc/gitea/app.ini
 | 
					        target: /etc/gitea/app.ini
 | 
				
			||||||
@ -34,7 +34,6 @@ services:
 | 
				
			|||||||
      - GITEA_UPDATE_AVATAR
 | 
					      - GITEA_UPDATE_AVATAR
 | 
				
			||||||
      - GITEA_ACCOUNT_LINKING
 | 
					      - GITEA_ACCOUNT_LINKING
 | 
				
			||||||
      - GITEA_OAUTH2_CLIENT_ENABLED
 | 
					      - GITEA_OAUTH2_CLIENT_ENABLED
 | 
				
			||||||
      - GITEA_CORS_ALLOW_DOMAIN
 | 
					 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - data:/var/lib/gitea
 | 
					      - data:/var/lib/gitea
 | 
				
			||||||
      - config:/etc/gitea
 | 
					      - config:/etc/gitea
 | 
				
			||||||
@ -56,12 +55,7 @@ services:
 | 
				
			|||||||
        - "traefik.tcp.routers.${STACK_NAME}-ssh.rule=HostSNI(`*`)"
 | 
					        - "traefik.tcp.routers.${STACK_NAME}-ssh.rule=HostSNI(`*`)"
 | 
				
			||||||
        - "traefik.tcp.routers.${STACK_NAME}-ssh.entrypoints=gitea-ssh"
 | 
					        - "traefik.tcp.routers.${STACK_NAME}-ssh.entrypoints=gitea-ssh"
 | 
				
			||||||
        - "traefik.tcp.services.${STACK_NAME}-ssh.loadbalancer.server.port=${GITEA_SSH_PORT}"
 | 
					        - "traefik.tcp.services.${STACK_NAME}-ssh.loadbalancer.server.port=${GITEA_SSH_PORT}"
 | 
				
			||||||
        - "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}_cors"
 | 
					        - coop-cloud.${STACK_NAME}.version=1.3.1+1.17.3-rootless
 | 
				
			||||||
        - "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolallowmethods=GET,OPTIONS,PUT"
 | 
					 | 
				
			||||||
        - "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolalloworiginlist=https://${GITEA_CORS_ALLOW_DOMAIN}"
 | 
					 | 
				
			||||||
        - "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolmaxage=100"
 | 
					 | 
				
			||||||
        - "traefik.http.middlewares.${STACK_NAME}_cors.headers.addvaryheader=true"
 | 
					 | 
				
			||||||
        - coop-cloud.${STACK_NAME}.version=2.0.0+1.18.0-rootless
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
networks:
 | 
					networks:
 | 
				
			||||||
 | 
				
			|||||||
@ -1,8 +0,0 @@
 | 
				
			|||||||
This release adds the possibility to run gitea with postgres.
 | 
					 | 
				
			||||||
Please add the following lines to your servers .env file!
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
COMPOSE_FILE="compose.yml"
 | 
					 | 
				
			||||||
COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml"
 | 
					 | 
				
			||||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.postgres.yml"
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user