Compare commits
2 Commits
c44bcc85b6
...
faaa9153e9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
faaa9153e9 | ||
|
|
b562ad2d49 |
@ -1,13 +1,22 @@
|
|||||||
|
>>>>>>> origin/001-add-dokploy-deploy
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: websites-lms:latest
|
image: websites-lms:latest
|
||||||
ports:
|
labels:
|
||||||
- "8080:80"
|
- "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:
|
environment:
|
||||||
APP_ENV: production
|
APP_ENV: production
|
||||||
APP_DEBUG: "false"
|
APP_DEBUG: "false"
|
||||||
|
volumes:
|
||||||
|
- ./:/var/www/html
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user