Add .env.example file and update compose.yml

This commit is contained in:
sHa
2024-03-22 08:30:36 +00:00
parent 47eedb44e9
commit dba005e4eb
2 changed files with 4 additions and 2 deletions

2
.env.example Normal file
View File

@@ -0,0 +1,2 @@
APP_URL=example.com
APP_DEBUG_PORT=5678

View File

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