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: