From 84f2174241a4c6b0cf33073b60461dd21c242a08 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Sun, 11 Sep 2022 17:41:39 -0400 Subject: [PATCH] Split the development ports into a separate compose file --- README.md | 2 +- container-compose.dev.yml | 12 ++++++++++++ container-compose.yml | 7 ------- 3 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 container-compose.dev.yml diff --git a/README.md b/README.md index dba11ab..9c823d8 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/container-compose.dev.yml b/container-compose.dev.yml new file mode 100644 index 0000000..b4d4631 --- /dev/null +++ b/container-compose.dev.yml @@ -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" diff --git a/container-compose.yml b/container-compose.yml index 11dac7b..ed8a393 100644 --- a/container-compose.yml +++ b/container-compose.yml @@ -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: