Skip to content

Commit

Permalink
Atmo Service bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ph3nol committed Sep 18, 2017
1 parent cee4962 commit 1f1fae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Application/DockerContainer/AtmoDockerContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function init(): void
->setCmd(['start']);

// Ports.
$port = $this->addEnvPort('ATMO', ['from' => '9999', 'to' => '9000']);
$port = $this->addEnvPort('ATMO', ['from' => '9999', 'to' => '1337']);

// UI.
$service->addUIAccess([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ server {
error_log /var/log/nginx/{{ host }}-error.log;

location / {
proxy_pass http://{{ forService.identifier }}:9000;
proxy_pass http://{{ forService.identifier }}:1337;

add_header 'Access-Control-Allow-Origin' "$http_origin";
add_header 'Access-Control-Allow-Credentials' 'true';
Expand Down

0 comments on commit 1f1fae2

Please sign in to comment.