[小技巧] epic游戏自动领取

date
Nov 9, 2022
slug
tip-epic-games-auto-claim
status
Published
summary
小技巧
tags
tip
type
Post
URL
notion image

Problem & Summary

notion image

Solution

export DOCKER_PROJ=epicgames-claimer
mkdir /data/$DOCKER_PROJ; cd /data/$DOCKER_PROJ

cat > docker-compose.yml <<EOF
version: "3.7"

services:
  privatebin:
    image: privatebin/nginx-fpm-alpine:1.3.5
    container_name: privatebin
    read_only: true # not in compose 3.0 documentation but appears supported based
    # on issues for docker compose in Github
    volumes:
      - './privatebin-data:/srv/data' # data volume for pastes allows pastes
      # to persist after container stop or restart
      - './conf.php:/srv/cfg/conf.php:ro' # second volume for custom configuration file
    ports:
      # To update: Be sure to use a reverse proxy for HTTPS termination
      # in front of it for production environments.
      # ie, The Nginx setup supports only HTTP, so make sure that you run
      # another webserver as reverse proxy in front of this for HTTPS
      #offloading and reducing the attack surface on your TLS stack. The
      # Nginx in this image is set up to deflate/gzip text content.
      #- $HOST_PORT:8080
    restart: always
networks:
  default:
    name: npm_nginx_proxy_manager-network
    external: true
EOF

Screenshots

notion image
notion image
 

© Ying Bun 2021 - 2024