https://github.com/t3easy/docker-frontend
Docker frontend / reverse proxy to run one or more web apps at the same time
https://github.com/t3easy/docker-frontend
docker docker-compose
Last synced: about 2 months ago
JSON representation
Docker frontend / reverse proxy to run one or more web apps at the same time
- Host: GitHub
- URL: https://github.com/t3easy/docker-frontend
- Owner: t3easy
- Created: 2018-01-17T09:54:40.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2021-05-25T10:21:46.000Z (about 5 years ago)
- Last Synced: 2025-06-10T02:06:42.947Z (about 1 year ago)
- Topics: docker, docker-compose
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A preconfigured Traefik service with docker backend
## Usage
1. Change `.env` `COMPOSE_FILE` to include all necessary compose files.
1. Modify Traefik config to your needs
1. Example for development: `traefik.dev.toml`
1. Example for production: `traefik.prod.toml`
1. If you have/need other certificates than Let's Encrypt:
Add certificates to `certs` folder, copy the example `certs/.cert.toml.example` to `certs/your-cert.toml`.
1. For production, you should build the image with `docker-compose build --pull`
and push it to your registry `docker-compose push`.
1. Start the service `docker-compose up -d`
## Protect the API
Either disable the API in the config or generate basic authentication credentials with escaped `$` and add it to your CI variables as `BASIC_AUTHENTICATION`
```bash
echo $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g
```