Created
December 12, 2022 20:29
-
-
Save bayasdev/0bec60c2e949164218d4522e7abff788 to your computer and use it in GitHub Desktop.
Docker Compose: Drupal + Traefik
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
drupal: | |
image: drupal | |
restart: always | |
ports: | |
- 8088:80 | |
volumes: | |
- drupal-modules:/var/www/html/modules | |
- drupal-profiles:/var/www/html/profiles | |
- drupal-themes:/var/www/html/themes | |
- drupal-sites:/var/www/html/sites | |
# labels: | |
# - "traefik.enable=true" | |
# - "traefik.http.routers.drupal.rule=Host(`drupal.bayas.dev`)" | |
# - "traefik.http.routers.drupal.entrypoints=websecure" | |
# - "traefik.http.routers.drupal.tls.certresolver=production" | |
volumes: | |
drupal-modules: | |
drupal-profiles: | |
drupal-themes: | |
drupal-sites: | |
# networks: | |
# default: | |
# name: homelab | |
# external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment