r-pointgtr/docker-compose.yml

28 lines
600 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
python3:
restart: always
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_TIME}
2023-05-31 09:20:37 +09:00
volumes:
- ./app:/var/app
depends_on:
- selenium
entrypoint:
- python3
command:
- /var/app/main.py