From dba005e4eb7ed53dc94bceb546884d18e986bafc Mon Sep 17 00:00:00 2001 From: sHa Date: Fri, 22 Mar 2024 08:30:36 +0000 Subject: [PATCH] Add .env.example file and update compose.yml --- .env.example | 2 ++ compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..2fa6f5f --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +APP_URL=example.com +APP_DEBUG_PORT=5678 \ No newline at end of file diff --git a/compose.yml b/compose.yml index 5ce9268..0ba8399 100644 --- a/compose.yml +++ b/compose.yml @@ -16,12 +16,12 @@ services: - ./schema:/app/schema - ./storage:/app/storage networks: - - "apps-proxy" + - apps-proxy labels: traefik.enable: true traefik.docker.network: apps-proxy traefik.http.routers.catcher.entrypoints: websecure - traefik.http.routers.catcher.rule: Host(`catcher.rs.shadoll.dev`) + traefik.http.routers.catcher.rule: Host(`$APP_URL`) traefik.http.routers.catcher.tls: true traefik.http.routers.catcher.tls.certresolver: letsencrypt traefik.http.services.catcher.loadbalancer.server.port: 8000