Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c7016fa1bf | |||
| 63af5a6f6b |
@@ -53,15 +53,16 @@ services:
|
||||
- traefik-public
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=falah_traefik-net"
|
||||
# HTTPS router (Cloudflare terminates SSL, Traefik sees HTTP on websecure)
|
||||
- "traefik.http.routers.ummah2.rule=Host(`ummah2.falahos.my`)"
|
||||
- "traefik.http.routers.ummah2.entrypoints=websecure"
|
||||
- "traefik.http.routers.ummah2.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.ummah2.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.ummah2wp.rule=Host(`ummah2.falahos.my`)"
|
||||
- "traefik.http.routers.ummah2wp.entrypoints=websecure"
|
||||
- "traefik.http.routers.ummah2wp.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.ummah2wp.loadbalancer.server.port=80"
|
||||
# HTTP router — no middleware, just pass through (Cloudflare handles redirect)
|
||||
- "traefik.http.routers.ummah2-http.rule=Host(`ummah2.falahos.my`)"
|
||||
- "traefik.http.routers.ummah2-http.entrypoints=web"
|
||||
- "traefik.http.routers.ummah2-http.service=ummah2"
|
||||
- "traefik.http.routers.ummah2wp-http.rule=Host(`ummah2.falahos.my`)"
|
||||
- "traefik.http.routers.ummah2wp-http.entrypoints=web"
|
||||
- "traefik.http.routers.ummah2wp-http.service=ummah2wp"
|
||||
|
||||
wpcli:
|
||||
image: wordpress:cli-2-php8.3
|
||||
@@ -75,6 +76,7 @@ services:
|
||||
WORDPRESS_DB_NAME: ummah2_wp
|
||||
WORDPRESS_DB_USER: ummah2_wp
|
||||
WORDPRESS_DB_PASSWORD: ${DB_PASSWORD}
|
||||
WORDPRESS_TABLE_PREFIX: wp_umm_
|
||||
volumes:
|
||||
- ummah2-wp-data:/var/www/html
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user