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