server {
listen 80;
server_name tender.local;
location / {
proxy_pass http://tender:80/;
}
}
frontend:
build: ./frontend
volumes:
- ./frontend/conf.d:/etc/nginx/conf.d
- ./frontend/log:/var/log/nginx
ports:
- "80:80"
links:
- tender
tender:
build: ./tender
volumes:
- ./tender/html:/var/www/html
- ./tender/log:/var/log/
links:
- mysql:dev-mysql