A very simple and lightweight redirect gateway.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 465B

1234567891011121314151617181920212223242526
  1. version: "3.2"
  2. services:
  3. redirect_apache:
  4. build:
  5. context: ./config/apache
  6. dockerfile: Dockerfile
  7. args:
  8. APACHE_VERSION: ${APACHE_VERSION}
  9. restart: always
  10. volumes:
  11. - ./data/public:/var/www/html:rw
  12. - ./logs/apache:/apache-logs:rw
  13. networks:
  14. - proxy
  15. environment:
  16. - VIRTUAL_HOST
  17. - VIRTUAL_PORT=80
  18. - LETSENCRYPT_HOST
  19. - LETSENCRYPT_EMAIL
  20. networks:
  21. proxy:
  22. external:
  23. name: nginx-proxy