Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
docker-compose.yml 863 B
version: '3'
services:
  python_server:
    image: registry.esss.lu.se/ics-software/ess-public-screens/python-server:master
    container_name: pos_python_server
    build:
      context: PythonServer
    environment:
      EPICS_CA_AUTO_ADDR_LIST: "NO"
      EPICS_CA_ADDR_LIST: "10.0.16.88"
      ARCHIVER_SERVER: "archiver-01.tn.esss.lu.se"
      PV_REPO: "https://bitbucket.org/europeanspallationsource/isrc-lebt-pv-list.git"
    expose:
      - "8080"
    volumes:
      - ./PythonServer:/app
      - python-data:/var/www/data
  web:
    image: registry.esss.lu.se/ics-software/ess-public-screens/nginx:master
    build:
      context: .
    container_name: pos_web
    volumes:
      - ./WebSites:/usr/share/nginx/web
      - python-data:/usr/share/nginx/data:ro
    depends_on:
      - python_server
    ports:
      - "8000:8000"

volumes:
  python-data: