Compare commits

...

2 Commits

4 changed files with 40 additions and 8 deletions

View File

@ -4,7 +4,7 @@
```
podman network exists web || podman network create web
podman-compose up -d
podman-compose -f container-compose.yml -f container-compose.dev.yml up -d
```
## Running in production

12
container-compose.dev.yml Normal file
View File

@ -0,0 +1,12 @@
---
version: '3'
services:
reverse-proxy:
ports:
# The HTTP port
- "8080:80"
# The Web UI (enabled by --api.insecure=true)
- "8081:8080"
# TLS
- "8443:443"

View File

@ -12,13 +12,6 @@ services:
- "--configFile=/traefik.toml"
environment:
- TRAEFIK_API_INSECURE=true
ports:
# The HTTP port
- "8080:80"
# The Web UI (enabled by --api.insecure=true)
- "8081:8080"
# TLS
- "8443:443"
networks:
- web
volumes:

27
traefik.toml Normal file
View File

@ -0,0 +1,27 @@
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.https]
address = ":443"
[entryPoints.traefik]
address = ":8080"
[api]
dashboard = true
[acme]
email = "info@example.com"
storage = "acme.json"
entryPoint = "https"
onHostRule = true
[acme.httpChallenge]
entryPoint = "http"
[providers]
# [providers.docker]
[providers.file]
directory = "/traefik.conf.d/"
watch = true
[log]
level = 'INFO'