| 
									
										
										
										
											2023-03-19 06:47:05 +00:00
										 |  |  | version: "3.7"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | services:
 | 
					
						
							|  |  |  |   lodestone-core:
 | 
					
						
							|  |  |  |     container_name: lodestone-core
 | 
					
						
							| 
									
										
										
										
											2023-05-22 16:20:40 +00:00
										 |  |  |     image: ghcr.io/lodestone-team/lodestone_core:0.4.4
 | 
					
						
							| 
									
										
										
										
											2023-03-19 06:47:05 +00:00
										 |  |  |     ports:
 | 
					
						
							|  |  |  |       - ${APP_PORT}:16662
 | 
					
						
							|  |  |  |       - 25565-25575:25565-25575
 | 
					
						
							|  |  |  |     restart: unless-stopped
 | 
					
						
							|  |  |  |     volumes:
 | 
					
						
							| 
									
										
										
										
											2023-09-02 18:33:41 +00:00
										 |  |  |       - ${APP_DATA_DIR}/data/lodestone-data:/home/user/.lodestone
 | 
					
						
							| 
									
										
										
										
											2023-11-26 16:45:22 +00:00
										 |  |  |       - ${APP_DATA_DIR}/data/lodestone-data:/root/.lodestone
 | 
					
						
							| 
									
										
										
										
											2023-03-19 06:47:05 +00:00
										 |  |  |     networks:
 | 
					
						
							|  |  |  |       - tipi_main_network
 | 
					
						
							|  |  |  |     labels:
 | 
					
						
							| 
									
										
										
										
											2023-06-10 15:29:03 +00:00
										 |  |  |       # Main
 | 
					
						
							|  |  |  |       traefik.enable: true
 | 
					
						
							|  |  |  |       traefik.http.middlewares.lodestone-core-web-redirect.redirectscheme.scheme: https
 | 
					
						
							|  |  |  |       traefik.http.services.lodestone-core.loadbalancer.server.port: 16662
 | 
					
						
							|  |  |  |       # Web
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-insecure.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-insecure.service: lodestone-core
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-insecure.middlewares: lodestone-core-web-redirect
 | 
					
						
							|  |  |  |       # Websecure
 | 
					
						
							| 
									
										
										
										
											2023-03-19 06:47:05 +00:00
										 |  |  |       traefik.http.routers.lodestone-core.rule: Host(`${APP_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core.service: lodestone-core
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core.tls.certresolver: myresolver
 | 
					
						
							| 
									
										
										
										
											2023-06-10 15:29:03 +00:00
										 |  |  |       # Local domain
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-local-insecure.rule: Host(`lodestone-core.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-local-insecure.entrypoints: web
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-local-insecure.service: lodestone-core
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-local-insecure.middlewares: lodestone-core-web-redirect
 | 
					
						
							|  |  |  |       # Local domain secure
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-local.rule: Host(`lodestone-core.${LOCAL_DOMAIN}`)
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-local.entrypoints: websecure
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-local.service: lodestone-core
 | 
					
						
							|  |  |  |       traefik.http.routers.lodestone-core-local.tls: true
 |