version: "2.4"
services:
  pluto_docker:
    dockerfile: manual-full.Dockerfile
    #image: aws-url/pluto-dspda-all
    #mem_limit: 2g
    #cpus: 2.00
    env_file: env.conf
    #environment:
      #- IMAGE_VIEWER_URL=http://192.168.0.52/
      #- DB_NAME=pluto
      #- DB_PORT=5432
      #- DB_SERVER=192.168.0.50
      #- DB_USER=pluto
      #- DB_PASS=
      #- BASE_HREF=
      #- DSP_TRACKING_SERVICE_URL=
    build: .
    ports:
      - "127.0.0.1:1337:80" # Webserver
    restart: on-failure
    #volumes:
      #- ./logs:/var/log
    healthcheck:
      test: curl -f http://127.0.0.1/dspda-heartbeat || exit 1
      interval: 30s
      timeout: 3s
      retries: 2
