diff --git a/docker-compose.yml b/docker-compose.yml index 4c7f67b..34286f7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,12 +14,12 @@ services: image: "nginx-with-openssl" volumes: - ./client:/usr/share/nginx/html - - ./nginx/default.conf:/etc/nginx/conf.d/default.conf - - ./certs:/etc/ssl/certs - - ./openssl:/mnt/openssl + - ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf + - ./docker/certs:/etc/ssl/certs + - ./docker/openssl:/mnt/openssl ports: - "8080:80" - "443:443" - env_file: fqdn.env + env_file: ./docker/fqdn.env entrypoint: /mnt/openssl/create.sh command: ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/fqdn.env b/docker/fqdn.env similarity index 100% rename from fqdn.env rename to docker/fqdn.env diff --git a/nginx-with-openssl.Dockerfile b/docker/nginx-with-openssl.Dockerfile similarity index 100% rename from nginx-with-openssl.Dockerfile rename to docker/nginx-with-openssl.Dockerfile diff --git a/nginx/default.conf b/docker/nginx/default.conf similarity index 100% rename from nginx/default.conf rename to docker/nginx/default.conf diff --git a/openssl/create.sh b/docker/openssl/create.sh similarity index 100% rename from openssl/create.sh rename to docker/openssl/create.sh diff --git a/openssl/snapdropCA.cnf b/docker/openssl/snapdropCA.cnf similarity index 100% rename from openssl/snapdropCA.cnf rename to docker/openssl/snapdropCA.cnf diff --git a/openssl/snapdropCert.cnf b/docker/openssl/snapdropCert.cnf similarity index 100% rename from openssl/snapdropCert.cnf rename to docker/openssl/snapdropCert.cnf