services: api: restart: unless-stopped build: backend volumes: - ./backend:/app:ro expose: - 80 server: image: nginx:stable restart: unless-stopped links: - api environment: - VIRTUAL_HOST=aoc.typename.fr - API_URL=http://api:80 volumes: - ./nginx.conf:/etc/nginx/templates/default.conf.template:ro - ./front/dist:/www/data:ro expose: - 80 networks: proxy: default: networks: proxy: name: nginxproxy external: true