outpost allows you to expose self-hosted web services to the Internet via popular cloud providers.
Example with docker-compose
name: example_com
services:
outpost:
image: fossable/outpost:latest
depends_on:
- www
cap_add:
- NET_ADMIN
- SYS_MODULE
volumes:
- /lib/modules:/lib/modules
ports:
- 51820:51820/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
environment:
OUTPOST_CONFIG: |
{
"www.example.com": {
"service": "www",
"provider": "cloudflare",
"ports": ["80:443"]
}
}
www:
image: httpd:latest