Split the development ports into a separate compose file
This commit is contained in:
parent
39cb004e2e
commit
84f2174241
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue