Commit 5328a223 authored by Caillat Michel's avatar Caillat Michel
Browse files

FITS files directories are defined in YAFITS_FITSDIR on BOTH sides - host AND container

parent 00f50d85
......@@ -6,7 +6,6 @@ services:
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"
......@@ -22,16 +21,25 @@ services:
- yafitss
yafitss:
build: ./yafitss
build:
context: ./yafitss
args:
YAFITS_FITSDIR: ${YAFITS_FITSDIR}
YAFITS_FITSDIR2: ${YAFITS_FITSDIR2}
image: yafitss:${USER}
ports:
- "${YAFITSS_PORT}:4251"
volumes:
- "${YAFITS_FITSDIR}:/home/partemix/dataroot/FITS"
- "${YAFITS_FITSDIR}:${YAFITS_FITSDIR}"
- "${YAFITS_FITSDIR2}:${YAFITS_FITSDIR2}"
- "${YAFITS_PNGDIR}:/home/partemix/dataroot/PNG"
- "${YAFITS_OBJDIR}:/home/partemix/dataroot/OBJ"
- "${YAFITS_LOGDIR}:/home/partemix/log"
environment:
- YAFITS_FITSDIR
- YAFITS_FITSDIR2
- YAFITSS_PORT=${YAFITSS_PORT}
- YAFITSS_MAXIDLE=${YAFITSS_MAXIDLE}
command: python /home/partemix/yafitss/serverWsgi.py --port 4251
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment