Standardize the Gogs setup.
This commit is contained in:
		
							
								
								
									
										33
									
								
								Config/Gogs/docker-compose.example.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								Config/Gogs/docker-compose.example.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| # 2024-12-30 Hyperling | ||||
| # Gogs self-hosted git server! | ||||
| #   https://hub.docker.com/r/gogs/gogs | ||||
| #   https://gist.github.com/ahromis/4ce4a58623847ca82cb1b745c2f83c82 | ||||
|  | ||||
| # Takes nearly half the resources of Gitea. | ||||
| # Has a more basic UI and may be lacking features. So slim though!! | ||||
|  | ||||
| services: | ||||
|  | ||||
|   app: | ||||
|     ## Database ## | ||||
|     # SQL Lite | ||||
|  | ||||
|     ## App ## | ||||
|     container_name: gogs-app | ||||
|     image: gogs/gogs:latest | ||||
|     restart: always | ||||
|     ports: | ||||
|       - "3000:3000" | ||||
|       - "2202:22" | ||||
|     volumes: | ||||
|       - ../../Volumes/Gogs/gogs:/data | ||||
|       - /etc/timezone:/etc/timezone:ro | ||||
|       - /etc/localtime:/etc/localtime:ro | ||||
|     environment: | ||||
|       - "RUN_CROND=true" | ||||
|     deploy: | ||||
|       mode: global | ||||
|       resources: | ||||
|         limits: | ||||
|           cpus: $CPU | ||||
|           memory: $MEM | ||||
		Reference in New Issue
	
	Block a user