r-pointgtr/docker-compose.yml

29 lines
611 B
YAML
Raw Normal View History

2023-05-31 09:20:37 +09:00
version: '3'
services:
selenium:
restart: always
image: selenium/standalone-chrome:latest
container_name: 'selenium'
volumes:
- /dev/shm:/dev/shm
2023-05-31 18:44:40 +09:00
logging:
driver: none
2023-05-31 09:20:37 +09:00
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}
2023-05-31 09:20:37 +09:00
volumes:
- ./app:/var/app
depends_on:
- selenium
entrypoint:
- python3
command:
- /var/app/main.py