23 lines
648 B
YAML
23 lines
648 B
YAML
>>>>>>> origin/001-add-dokploy-deploy
|
|
version: "3.8"
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
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"
|
|
volumes:
|
|
- ./:/var/www/html
|
|
restart: unless-stopped
|