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