Replace h5ai by Filerun
This commit is contained in:
		
							parent
							
								
									9c2cf9c9ed
								
							
						
					
					
						commit
						8a2cbe995a
					
				|  | @ -3,3 +3,8 @@ ACME_MAIL=my-email@my-provider.com | |||
| HTTP_USER=myuser | ||||
| HTTP_PASSWORD=mypassword_encoded | ||||
| PORTAINER_ADMIN_PASSWORD=h4ckMePleAse | ||||
| 
 | ||||
| # Filerun | ||||
| MYSQL_ROOT_PASSWORD=your_mysql_root_password | ||||
| MYSQL_USER=your_filerun_username | ||||
| MYSQL_PASSWORD=your_filerun_password | ||||
|  | @ -37,22 +37,60 @@ services: | |||
|             - 'traefik.frontend.auth.basic=${HTTP_USER}:${HTTP_PASSWORD}' | ||||
|             - 'traefik.enable=true' | ||||
| 
 | ||||
|     h5ai: | ||||
|         image: fromenje/seedbox:h5ai | ||||
|         build: Dockerfiles/h5ai | ||||
|     # h5ai: | ||||
|     #     image: fromenje/seedbox:h5ai | ||||
|     #     build: Dockerfiles/h5ai | ||||
|     #     restart: always | ||||
|     #     networks: | ||||
|     #         - web | ||||
|     #     volumes: | ||||
|     #         - torrents:/torrents | ||||
|     #         - config:/config | ||||
|     #     labels: | ||||
|     #         - 'traefik.backend=h5ai' | ||||
|     #         - 'traefik.port=12333' | ||||
|     #         - 'traefik.frontend.rule=Host:explore.${TRAEFIK_DOMAIN}' | ||||
|     #         - 'traefik.frontend.auth.basic=${HTTP_USER}:${HTTP_PASSWORD}' | ||||
|     #         - 'traefik.enable=true' | ||||
|     #         - com.centurylinklabs.watchtower.enable=false | ||||
| 
 | ||||
|     filerun-db: | ||||
|         image: mariadb:10.1 | ||||
|         restart: always | ||||
|         networks: | ||||
|             - web | ||||
|         environment: | ||||
|             MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} | ||||
|             MYSQL_USER: ${MYSQL_USER} | ||||
|             MYSQL_PASSWORD: ${MYSQL_PASSWORD} | ||||
|             MYSQL_DATABASE: filerun | ||||
|         volumes: | ||||
|             - torrents:/torrents | ||||
|             - config:/config | ||||
|             - /data/config/filerun/db:/var/lib/mysql | ||||
|         labels: | ||||
|             - 'traefik.backend=h5ai' | ||||
|             - 'traefik.port=12333' | ||||
|             - 'traefik.enable=false' | ||||
| 
 | ||||
|     filerun-web: | ||||
|         image: afian/filerun | ||||
|         restart: always | ||||
|         networks:  | ||||
|             - web | ||||
|         environment: | ||||
|             FR_DB_HOST: filerun-db | ||||
|             FR_DB_PORT: 3306 | ||||
|             FR_DB_NAME: filerun | ||||
|             FR_DB_USER: ${MYSQL_USER} | ||||
|             FR_DB_PASS: ${MYSQL_PASSWORD} | ||||
|         depends_on: | ||||
|             - filerun-db | ||||
|         volumes: | ||||
|             - /data/config/filerun/web:/var/www/html | ||||
|             - alldata:/user-files | ||||
|         labels: | ||||
|             - 'traefik.backend=filerun' | ||||
|             - 'traefik.port=80' | ||||
|             - 'traefik.frontend.rule=Host:explore.${TRAEFIK_DOMAIN}' | ||||
|             - 'traefik.frontend.auth.basic=${HTTP_USER}:${HTTP_PASSWORD}' | ||||
|             - 'traefik.enable=true' | ||||
|             - com.centurylinklabs.watchtower.enable=false | ||||
| 
 | ||||
|     # owncloud: | ||||
|     #     image: owncloud:latest | ||||
|  | @ -190,34 +228,6 @@ services: | |||
|             - 'traefik.frontend.auth.basic=${HTTP_USER}:${HTTP_PASSWORD}' | ||||
|             - 'traefik.enable=true' | ||||
| 
 | ||||
|     rtorrent: | ||||
|         image: romancin/rutorrent-flood | ||||
|         restart: always | ||||
|         networks: | ||||
|             - web | ||||
|         volumes: | ||||
|             - downloads:/downloads | ||||
|             - configrtorrent:/config | ||||
|             - configflood:/flood-db | ||||
|             - /etc/localtime:/etc/localtime:ro | ||||
|         environment: | ||||
|             - CONTEXT_PATH=/ | ||||
|             - FLOOD_SECRET="mzxgMcYuTcNAhJcON4cLAI0dyniPIE2F" | ||||
|             - RTORRENT_SCGI=9000 | ||||
|             - PUID=0 | ||||
|             - PGID=0 | ||||
|         ports: | ||||
|             - "3000:3000" | ||||
|         labels: | ||||
|             - 'traefik.backend=rtorrent' | ||||
|             - 'traefik.port=3000' | ||||
|             - 'traefik.frontend.rule=Host:rtorrent.${TRAEFIK_DOMAIN}' | ||||
|             - 'traefik.frontend.auth.basic=${HTTP_USER}:${HTTP_PASSWORD}' | ||||
|             - 'traefik.enable=true' | ||||
|             #- 'traefik.default.protocol=http' | ||||
|             - 'traefik.frontend.headers.SSLRedirect=false' | ||||
|             #- 'traefik.frontend.entryPoints=http,https' | ||||
| 
 | ||||
|     portainer: | ||||
|         image: portainer/portainer | ||||
|         volumes: | ||||
|  | @ -248,6 +258,10 @@ networks: | |||
|         external: | ||||
|             name: seedbox_webgateway | ||||
| volumes: | ||||
|     alldata: | ||||
|         driver: local-persist | ||||
|         driver_opts: | ||||
|             mountpoint: /data | ||||
|     config: | ||||
|         driver: local-persist | ||||
|         driver_opts: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue