Split the development ports into a separate compose file

This commit is contained in:
Kienan Stewart 2022-09-11 17:41:39 -04:00
parent 39cb004e2e
commit 84f2174241
3 changed files with 13 additions and 8 deletions

View File

@ -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

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" - "--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: