Update docker-compose.yml
This commit is contained in:
parent
34c544f696
commit
6cee2e355e
@ -6,16 +6,9 @@ services:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: websites-lms:latest
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
# Replace the Host rule with your actual domain (example below)
|
||||
- "traefik.http.routers.lms.rule=Host(`lms.example.com`)"
|
||||
- "traefik.http.routers.lms.entrypoints=web"
|
||||
# Tell Traefik which internal port the service listens on
|
||||
- "traefik.http.services.lms.loadbalancer.server.port=80"
|
||||
environment:
|
||||
APP_ENV: production
|
||||
APP_DEBUG: "false"
|
||||
APP_DEBUG: "true"
|
||||
volumes:
|
||||
- ./:/var/www/html
|
||||
restart: unless-stopped
|
||||
|
||||
Loading…
Reference in New Issue
Block a user