koleo-izochrona/docker-compose.yml

18 lines
339 B
YAML

services:
backend:
build: ./backend
volumes:
- ./data:/data
restart: unless-stopped
nginx:
image: nginx:alpine
ports:
- "8080:80"
volumes:
- ./frontend:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- backend
restart: unless-stopped