nginx tempate wieder aktiviert
This commit is contained in:
		
							parent
							
								
									39eee8ba7a
								
							
						
					
					
						commit
						7a52f71d61
					
				| 
						 | 
					@ -1,11 +1,11 @@
 | 
				
			||||||
web:
 | 
					web:
 | 
				
			||||||
  image: nginx
 | 
					  image: nginx
 | 
				
			||||||
  volumes:
 | 
					  volumes:
 | 
				
			||||||
#   - ./nginx.template:/etc/nginx/conf.d/mysite.template
 | 
					   - ./mysite.template:/etc/nginx/conf.d/mysite.template
 | 
				
			||||||
   - ./:/var/www/html
 | 
					   - ./:/var/www/html
 | 
				
			||||||
  ports:
 | 
					  ports:
 | 
				
			||||||
   - "8090:80"
 | 
					   - "8090:80"
 | 
				
			||||||
  environment:
 | 
					  environment:
 | 
				
			||||||
   - NGINX_HOST=oho.zeitpunkt-agentur.org
 | 
					   - NGINX_HOST=oho.zeitpunkt-agentur.org
 | 
				
			||||||
   - NGINX_PORT=80
 | 
					   - NGINX_PORT=80
 | 
				
			||||||
#  command: /bin/bash -c "envsubst < /etc/nginx/conf.d/mysite.template > /etc/nginx/conf.d/default.conf && exec nginx -g 'daemon off;'"
 | 
					  command: /bin/bash -c "envsubst < /etc/nginx/conf.d/mysite.template > /etc/nginx/conf.d/default.conf && exec nginx -g 'daemon off;'"
 | 
				
			||||||
		Loading…
	
		Reference in New Issue