version: "3"
services:
  web:
    # replace username/repo:tag with your name and image details
    image: eipwork/kuboard-press:latest
    deploy:
      replicas: 1
      resources:
        limits:
          cpus: "0.1"
          memory: 500M
      restart_policy:
        condition: on-failure
    ports:
      - "9080:80"
    volumes:
      - ./docs:/usr/share/nginx/html
    networks:
      - webnet
networks:
  webnet:
