EpicGames Free Games

Link to GitHub or Website

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

https://github.com/trentnbauer/agg/blob/main/docker-compose/epicgames.yml
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

Port
Purpose

3434

WebUI

Host Volume
Container Volume
Purpose

epicgames_config

/usr/app/config

Stores config and cookie files

  1. Log into Portainer

  2. Select Cocoa

  3. On the left, select Volumes

  4. Click on 'Browse' next to the epicgames_config volume

  5. Click on upload

  6. Upload your JSON file

  7. Edit the config.json file

    1. Download the config.json file

    2. Open the config.json in Visual Studio code

    3. Locate line 35 (accounts), click on the end and then hit enter

    4. Copy and paste the below code block and replace the example email with yours

          {
            "email": "[email protected]"
          },
    5. Save the file

  8. Upload the edited config.json file

  9. On the left, click on Stacks

  10. Select Epic Games

  11. Click on 'Stop this stack', then OK

  12. Click on 'Start this stack'

Last updated

Was this helpful?