version: '3' services: urpm-repo: image: urpm-repo:latest # build: # context: . # dockerfile: Dockerfile volumes: - ./config.yaml:/config.yaml - html-volume:/var/www/html/urpm-repo ports: - "8888:8888" nginx: image: nginx:latest volumes: - html-volume:/var/www/html/urpm-repo - ./nginx.conf:/etc/nginx/nginx.conf ports: - "8080:8080" volumes: html-volume: