First version with rootless
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
		
							
								
								
									
										58
									
								
								compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								compose.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,58 @@ | |||||||
|  | --- | ||||||
|  | version: "3" | ||||||
|  | networks: | ||||||
|  |   forgejo: | ||||||
|  |     external: false | ||||||
|  | services: | ||||||
|  |   forgejo: | ||||||
|  |     depends_on: | ||||||
|  |       - "mysql" | ||||||
|  |     environment: | ||||||
|  |       APP_NAME: "Fire Dragon GIT Repository" | ||||||
|  |       FORGEJO__database__DB_TYPE: "mysql" | ||||||
|  |       FORGEJO__database__HOST: "mysq:3306" | ||||||
|  |       FORGEJO__database__NAME: "gitea" | ||||||
|  |       FORGEJO__database__USER: "gitea" | ||||||
|  |       FORGEJO__database__PASSWD: "SecretSquirrel" | ||||||
|  |       FORGEJO__server__LFS_START_SERVER: "true" | ||||||
|  |       FORGEJO__server__HTTP_PORT: "3000" | ||||||
|  |       FORGEJO__server__PROTOCOL: "http" | ||||||
|  |       FORGEJO__server__START_SSH_SERVER: "true" | ||||||
|  |       FORGEJO__server__SSH_PORT: "4000" | ||||||
|  |       FORGEJO__server__SSH_LISTEN_PORT: "4000" | ||||||
|  |     expose: | ||||||
|  |       - "3000" | ||||||
|  |       - "4000" | ||||||
|  |     image: "codeberg.org/forgejo/forgejo:11-rootless" | ||||||
|  |     networks: | ||||||
|  |       - "forgejo" | ||||||
|  |     ports: | ||||||
|  |       - "3000:3000" | ||||||
|  |       - "4000:4000" | ||||||
|  |     restart: "always" | ||||||
|  |     volumes: | ||||||
|  |       - "forgejo_config:/etc/gitea" | ||||||
|  |       - "forgejo_data:/vart/lib/gitea" | ||||||
|  |   mysql: | ||||||
|  |     environment: | ||||||
|  |       MYSQL_DATABASE: "forgejo" | ||||||
|  |       MYSQL_PASSWORD: "SecretSquirrel" | ||||||
|  |       MYSQL_ROOT_PASSWORD: "SuperSecretSquirrel" | ||||||
|  |       MYSQL_USER: "forgejo" | ||||||
|  |     expose: | ||||||
|  |       - "3306" | ||||||
|  |     image: "container-registry.oracle.com/mysql/community-server:9.3" | ||||||
|  |     networks: | ||||||
|  |       - "forgejo" | ||||||
|  |     restart: "always" | ||||||
|  |     volumes: | ||||||
|  |       - "forgejo_mysql:/var/lib/mysql" | ||||||
|  | volumes: | ||||||
|  |   forgejo_data: | ||||||
|  |     driver: "local" | ||||||
|  |   forgejo_config: | ||||||
|  |     driver: "local" | ||||||
|  |   forgejo_mysql: | ||||||
|  |     driver: "local" | ||||||
|  | ... | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user