Compare commits
2 Commits
b49546005e
...
84f2174241
Author | SHA1 | Date |
---|---|---|
Kienan Stewart | 84f2174241 | |
Kienan Stewart | 39cb004e2e |
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
```
|
```
|
||||||
podman network exists web || podman network create web
|
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
|
## Running in production
|
||||||
|
|
|
@ -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"
|
|
@ -12,13 +12,6 @@ services:
|
||||||
- "--configFile=/traefik.toml"
|
- "--configFile=/traefik.toml"
|
||||||
environment:
|
environment:
|
||||||
- TRAEFIK_API_INSECURE=true
|
- TRAEFIK_API_INSECURE=true
|
||||||
ports:
|
|
||||||
# The HTTP port
|
|
||||||
- "8080:80"
|
|
||||||
# The Web UI (enabled by --api.insecure=true)
|
|
||||||
- "8081:8080"
|
|
||||||
# TLS
|
|
||||||
- "8443:443"
|
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -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'
|
Loading…
Reference in New Issue