From 57f886f5a0c8dd013eabe2497b6936a45e59d31c Mon Sep 17 00:00:00 2001 From: Ricardo Souza Date: Thu, 14 May 2020 23:49:22 -0300 Subject: [PATCH] Docker does not go up (#1228) * fixes: #1227 - Server running inside docker was unable to find RSA key. --- docker/docker-compose.yml | 3 +++ key.pem | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index c13199c58c..53826e5357 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -2,6 +2,7 @@ version: "3.3" services: otserver: + container_name: otserver build: context: ../ dockerfile: ./docker/Dockerfile.server @@ -32,6 +33,7 @@ services: - db-volume:/var/lib/mysql otweb: + container_name: otwebsite image: webdevops/php-nginx:alpine-php7 restart: unless-stopped environment: @@ -46,6 +48,7 @@ services: - otdb otlogin: + container_name: otwebsite_login build: context: ./ dockerfile: ./Dockerfile.login diff --git a/key.pem b/key.pem index ec19bb4c2e..345588bda4 100644 --- a/key.pem +++ b/key.pem @@ -10,4 +10,4 @@ AkEAkbNzB6vhLAWht4dUdGzaREF3p4SwNcu5bJRa/9wCLSHaS9JaTq4lljgVPp1zyXyJCSCWpFnl 1hoH+IlpuPuf21MdAqvJt+cMwoECQF1LyBOYduYGcSgg6u5mKVldhm3pJCA+ZGxnjuGZEnet3qeA eb05++112fyvO85ABUun524z9lokKNFh45NKLjUCQGshzV43P+RioiBhtEpB/QFzijiS4L2HKNu1 tdhudnUjWkaf6jJmQS/ppln0hhRMHlk9Vus/bPx7LtuDuo6VQDo= ------END RSA PRIVATE KEY----- +-----END RSA PRIVATE KEY----- \ No newline at end of file