services: dbupgrade: image: ptrxyz/chemotion:dbupgrade-3.1.2 volumes: - chemotion_db:/var/lib/postgresql/data/ restart: "no" db: image: ptrxyz/chemotion:db-3.1.2 restart: unless-stopped hostname: db depends_on: dbupgrade: condition: service_completed_successfully environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres volumes: - chemotion_db:/var/lib/postgresql/data/ networks: - chemotion msconvert: image: ptrxyz/chemotion:msconvert-3.1.2 restart: unless-stopped hostname: msconvert volumes: - spectra:/shared:rw networks: - chemotion spectra: image: ptrxyz/chemotion:spectra-3.1.2 restart: unless-stopped hostname: spectra volumes: - spectra:/shared:rw depends_on: - msconvert networks: - chemotion worker: image: ptrxyz/chemotion:eln-3.1.2 restart: unless-stopped environment: - CONFIG_ROLE=worker - SECRET_KEY_BASE=pleasechangeme - RUBYOPT=-W0 - OTP_SECRET_KEY=1pleasechangeme2pleasechangeme3 depends_on: - db - eln - spectra volumes: - chemotion_data:/chemotion/data/ - chemotion:/chemotion/app networks: - chemotion eln: image: ptrxyz/chemotion:eln-3.1.2 restart: unless-stopped environment: - CONFIG_ROLE=eln - SECRET_KEY_BASE=pleasechangeme - RUBYOPT=-W0 - OTP_SECRET_KEY=1pleasechangeme2pleasechangeme3 depends_on: - db - spectra volumes: - ./shared/pullin:/shared - ./shared/backup:/backup - chemotion_data:/chemotion/data/ - chemotion:/chemotion/app ports: - 4000:4000 networks: - chemotion ketchersvc: image: ptrxyz/chemotion:ketchersvc-3.1.2 restart: unless-stopped init: true depends_on: eln: condition: service_healthy networks: - chemotion converter: image: ptrxyz/chemotion:converter-3.1.2 restart: unless-stopped environment: - SECRET_KEY=imsupersecretandwanttobechanged volumes: - ./services/converter/profiles:/srv/chemotion/profiles - ./services/converter/datasets:/srv/chemotion/datasets networks: - chemotion indigo_service: hostname: indigo_service image: epmlsop/indigo-service:1.35.0-rc.2 restart: unless-stopped environment: - PYTHONPATH=/srv/indigo-python - INDIGO_UWSGI_RUN_PARAMETERS=--plugin python3 --py-autoreload=1 - PYTHONDONTWRITEBYTECODE=1 command: supervisord -n networks: - chemotion volumes: chemotion: name: chemotion_app chemotion_data: name: chemotion_data chemotion_db: name: chemotion_db spectra: name: chemotion_spectra networks: chemotion: