EpicGames Free Games
Automatically login and find available free games the Epic Games Store. Sends you a prepopulated checkout link so you can complete the checkout after logging in. Supports multiple accounts, login sessions, and scheduled runs.
We use the cookie import method to authenticate users.
This app is hosted on Cocoa as a docker container
version: '3'
services:
app:
image: ghcr.io/claabs/epicgames-freegames-node:bullseye-slim@sha256:a08ad15d7f54a90583f7279ac66232845dfec032762eee78d70cce5822645e8e
ports:
- ${PORT:-3000}:3000/udp
- ${PORT:-3000}:3000/tcp
restart: unless-stopped
#hostname: ${ALIAS:-epicgames} #DOES NOT WORK
networks:
- cloudflare-net
volumes:
- config:/usr/app/config:rw #Mapped to local drive to allow automations syncing cookies files from GitHub
environment:
- TZ=$TZ
- EMAIL=$EMAIL
- RUN_ON_STARTUP=$RUN_ON_STARTUP
- BASE_URL=$BASE_URL
- SMTP_HOST=$SMTP_HOST
- SMTP_PORT=$SMTP_PORT
- EMAIL_SENDER_ADDRESS=$EMAIL_SENDER_ADDRESS
- EMAIL_SENDER_NAME=$EMAIL_SENDER_NAME
- EMAIL_RECIPIENT_ADDRESS=$EMAIL_RECIPIENT_ADDRESS
- SMTP_SECURE=$SMTP_SECURE
- SMTP_USERNAME=$SMTP_USERNAME
- SMTP_PASSWORD=$SMTP_PASSWORD
mem_limit: 2G
labels:
- cloudflare.tunnel.enable=true
- cloudflare.tunnel.hostname=${SUBDOMAIN}${DOMAIN}
- cloudflare.tunnel.service=http://${HOSTNAME}:${PORT:-3000}
- cloudflare.tunnel.access.policy=${CFPOLICY:-default_tld}
- cloudflare.tunnel.zonename=${DOMAIN}
- cloudflare.tunnel.path=${URLPATH:-}
logging:
driver: "json-file"
options:
max-size: "5m"
max-file: "3"
volumes:
config:
networks:
cloudflare-net:
name: cloudflare-net
external: true
3434
WebUI
epicgames_config
/usr/app/config
Stores config and cookie files
Cookie Import
Log into Portainer
Select Cocoa
On the left, select Volumes
Click on 'Browse' next to the epicgames_config volume
Click on upload
Upload your JSON file
Edit the config.json file
Download the config.json file
Open the config.json in Visual Studio code
Locate line 35 (accounts), click on the end and then hit enter
Copy and paste the below code block and replace the example email with yours
{ "email": "[email protected]" },
Save the file
Upload the edited config.json file
On the left, click on Stacks
Select Epic Games
Click on 'Stop this stack', then OK
Click on 'Start this stack'
Last updated
Was this helpful?