change port strategy for h5ai
This commit is contained in:
		
							parent
							
								
									476e1a2f40
								
							
						
					
					
						commit
						3f9bd47846
					
				|  | @ -17,4 +17,4 @@ RUN patch -p1 -u -d /usr/share/h5ai/_h5ai/private/php/core/ -i /patch && rm patc | ||||||
| ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf | ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf | ||||||
| CMD supervisord -c /etc/supervisor/conf.d/supervisord.conf | CMD supervisord -c /etc/supervisor/conf.d/supervisord.conf | ||||||
| 
 | 
 | ||||||
| EXPOSE 80 | EXPOSE 12333 | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| server { | server { | ||||||
|   listen 80; |   listen 12333; | ||||||
|   root /var/www; |   root /var/www; | ||||||
|   index /_h5ai/public/index.php; |   index /_h5ai/public/index.php; | ||||||
|   try_files $uri $uri/ =404; |   try_files $uri $uri/ =404; | ||||||
|  |  | ||||||
|  | @ -62,7 +62,7 @@ services: | ||||||
|         networks: |         networks: | ||||||
|             - main |             - main | ||||||
|         ports: |         ports: | ||||||
|             - "12333:80" |             - "12333:12333" | ||||||
|         volumes: |         volumes: | ||||||
|             - torrents:/torrents |             - torrents:/torrents | ||||||
|             - config:/config |             - config:/config | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue