Docker Community Forums

Share and learn in the Docker community.

New APP Nextcloud

Hi everyone. I have a problem, I am recently approaching the “container” world of dockers, I built my very simple application to run Nextcloud, but I have a problem, in the sense that I do not know how to enable SSL HTTPS as I do not manage to trace the apache config file. below is the application’s YAML file:

version: "3"

volumes:

  nextcloud:

  db:

services:

  web:

    image: webdevops/php-apache:alpine-php7

    ports:

      - "8070:80"

    volumes:

      - ./www:/app

  db:

    image: mysql

    command: --default-authentication-plugin=mysql_native_password

    restart: always

    environment:

      - MYSQL_ROOT_PASSWORD=password

      - MYSQL_PASSWORD=password_1

      - MYSQL_DATABASE=nextcloud

      - MYSQL_USER=nextcloud

  phpmyadmin:

    image: phpmyadmin/phpmyadmin

    environment:

      MYSQL_ROOT_PASSWORD: password

    ports:

      - "8080:80"

  cloud:

    image: nextcloud

    ports:

      - 8081:80

    links:

      - db

    volumes:

      - nextcloud:/var/www/html

    restart: always

Following the reference documentation of the php-apache application, it says that the configuration file is located in the path “/opt/docker/etc/httpd/conf.d” but this path in my installation does not exist. Moral of the story, I can’t enable HTTPS, I hope for your help.
thank you very much