Skip to content

Docker images, docker compose and configs for abogutskiy.cloud droplets

Notifications You must be signed in to change notification settings

abogutskiy/abogutskiy.cloud.infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a repository with the default configuration for abogutskiy.cloud droplets. It includes configuration for Nginx, Wireguard, XRay and (TODO) amnezia docker images.

There are three ways (profiles) to setup docker:

  • default
  • local
  • isolated

Default profile is used for production droplets used in abogutskiy.cloud dns records. Local profile is useful for debuging and isolated profile is the most convenient one.

Default profile

This profile setup locate configs on host machine and mount them into containers. This approach is useful cos we can see/modify configs without rebuilding the container.

For production setup we locate wireguard configs in /etc/wireguard, xray configs in /etc/xray, amnezia in /etc/amnezia, ssl certs in /var/certs and static content for nginx in /var/www.

Local profile

The same as default profile but arrange configs in specific folder and mount it from there. For instance production configs with local profile and /tmp/vpn-conf local folder will locate wireguard configs in /tmp/vpn-conf/etc/wireguard, xray configs in /tmp/vpn-conf/etc/xray, etc and mount them into docker images.

Isolated profile

Just build the images with pre-copied configs inside

Main scenarios

Check prepared configs ./scripts/deploy_configs.py --config=path/to/config --local-destination=path/to/local/dir

Local run TODO

Build isolated images TODO

Isolated run TODO

Deploy production configs ./scrips/deploy.sh

Supported protocols

Wireguard

Pure vpn tunnel, nothing more. Fast and reliable but, won't help against DPI. Download clients here

XRay

Most popular protocols stack to bypass content moderation. Very popular in China, works even with DPI. Supports wide range of protocols.

In this repository we'll set up configs for:

  • vmess + tcp + tls
  • vless + tcp + tls (TODO add configs)
  • shadowsocks + tcp + tls (TODO add configs)
  • trojan + tcp + tls (TODO add configs)

Amnezia

Russian protocols stack to bypass content moderation. Popular in Russia, based on openVPN protocol and can use several protocols to mask the traffic.

TODO add amnezia support

Prerequisites

This setup can be used on any linux VM, but you need to install docker, git, git-crypto, setup ipv6 and maybe something else.

Setup will definitely run with:

About

Docker images, docker compose and configs for abogutskiy.cloud droplets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published