Skip to content

Instantly share code, notes, and snippets.

@scmanjarrez
Created October 24, 2022 13:58
Show Gist options
  • Save scmanjarrez/df855c900b360b7b122af88cae03ae3f to your computer and use it in GitHub Desktop.
Save scmanjarrez/df855c900b360b7b122af88cae03ae3f to your computer and use it in GitHub Desktop.
Esports Capsule Farmer docker compose changes to be used in x86_64: https://github.com/kacperkr90/EsportsCapsuleFarmer
services:
firefox:
restart: always
image: selenium/standalone-firefox:104.0
container_name: selenium_firefox
shm_size: 2g
mem_limit: 512m
mem_reservation: 256m
cpus: 1
ports:
- "4444:4444"
- "7900:7900"
env_file:
- api.env
environment:
- SE_DRAIN_AFTER_SESSION_COUNT=3
- SE_START_XVFB=false
- START_XVFB=false
- SE_JAVA_OPTS=-Xmx256m
capsule-farmer:
restart: always
image: esport-capsule-farmer
container_name: capsule_farmer
mem_limit: 50m
build: .
env_file:
- api.env
depends_on:
- firefox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment