Skip to content
Snippets Groups Projects
Select Git revision
  • 9d8d018113eb6d04feefad88c8119c7f1ffeeb21
  • master default protected
  • highcharts
  • plotly
  • dev
5 results

docker-compose.yml

Blame
  • docker-compose.yml 1.16 KiB
    version: '3'
    services:
      yafitsv:
        build: ./yafitsv
        image: yafitsv:${USER}
        ports:
         - "${YAFITSV_PORT}:3000"
        volumes:
         - "${YAFITS_FITSDIR}:/home/partemix/dataroot/FITS"
         - "${YAFITS_PNGDIR}:/home/partemix/dataroot/PNG"
         - "${YAFITS_OBJDIR}:/home/partemix/dataroot/OBJ"
         - "${YAFITS_SAMPDIR}:/home/partemix/dataroot/SAMP"
         - "${YAFITS_LOGDIR}:/home/partemix/log"
        environment:
         - YAFITSS_HOST=yafitss
         - YAFITSS_PORT=4251
         - YAFITSV_HOST=${YAFITSV_HOST}
         - YAFITSV_PORT=${YAFITSV_PORT}
         - PORT=3000
        command: /home/partemix/yafitsv/bin/www > /home/partemix/log/yafitsv.log 2> /home/partemix/log/yafitsv_err.log
        links:
         - yafitss
    
      yafitss:
        build: ./yafitss
        image: yafitss:${USER}
        ports:
         - "${YAFITSS_PORT}:4251"
        volumes:
         - "${YAFITS_FITSDIR}:/home/partemix/dataroot/FITS"
         - "${YAFITS_PNGDIR}:/home/partemix/dataroot/PNG"
         - "${YAFITS_OBJDIR}:/home/partemix/dataroot/OBJ"
         - "${YAFITS_LOGDIR}:/home/partemix/log"
        environment:
          - YAFITSS_PORT=${YAFITSS_PORT}
          - YAFITSS_MAXIDLE=${YAFITSS_MAXIDLE}
        command: python /home/partemix/yafitss/serverWsgi.py --port 4251