awesome-compose/nginx-golang/compose.yaml

18 lines
299 B
YAML
Raw Normal View History

services:
proxy:
image: nginx
volumes:
- type: bind
source: ./proxy/nginx.conf
target: /etc/nginx/conf.d/default.conf
read_only: true
ports:
- 80:80
depends_on:
- backend
backend:
build:
context: backend
target: builder