mysite.template zu site-conf umbenannt und pfad angepasst
This commit is contained in:
		
							parent
							
								
									7a52f71d61
								
							
						
					
					
						commit
						58ebb0d88f
					
				| 
						 | 
				
			
			@ -1,11 +1,7 @@
 | 
			
		|||
web:
 | 
			
		||||
  image: nginx
 | 
			
		||||
  volumes:
 | 
			
		||||
   - ./mysite.template:/etc/nginx/conf.d/mysite.template
 | 
			
		||||
   - ./site.conf:/etc/nginx/conf.d/site.conf
 | 
			
		||||
   - ./:/var/www/html
 | 
			
		||||
  ports:
 | 
			
		||||
   - "8090:80"
 | 
			
		||||
  environment:
 | 
			
		||||
   - NGINX_HOST=oho.zeitpunkt-agentur.org
 | 
			
		||||
   - 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;'"
 | 
			
		||||
   - "8090:80"
 | 
			
		||||
		Loading…
	
		Reference in New Issue