version: '3' services: selenium: restart: always image: selenium/standalone-chrome:latest container_name: 'selenium' volumes: - /dev/shm:/dev/shm logging: driver: none python3: build: ./python3 container_name: 'rpoint-getter' working_dir: '/var/app' tty: true environment: - RAKUTENID=${RAKUTENID} - RAKUTENPW=${RAKUTENPW} - RCH_WATCH_TIME=${RCH_WATCH_TIME} - RCH_WATCH_NUM=${RCH_WATCH_NUM} volumes: - ./app:/var/app depends_on: - selenium entrypoint: - python3 command: - /var/app/main.py