Skip to content

Commit

Permalink
Simplify router configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Jul 23, 2024
1 parent 9681569 commit 46baa07
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
2 changes: 0 additions & 2 deletions .castor/docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,7 @@ function create_default_context(): Context
$platform = strtolower(php_uname('s'));
if (str_contains($platform, 'darwin')) {
$data['macos'] = true;
$data['docker_compose_files'][] = 'docker-compose.docker-for-x.yml';
} elseif (\in_array($platform, ['win32', 'win64', 'windows nt'])) {
$data['docker_compose_files'][] = 'docker-compose.docker-for-x.yml';
$data['power_shell'] = true;
}

Expand Down
13 changes: 0 additions & 13 deletions infrastructure/docker/docker-compose.docker-for-x.yml

This file was deleted.

5 changes: 4 additions & 1 deletion infrastructure/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ services:
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./services/router/certs:/etc/ssl/certs"
network_mode: host
ports:
- "80:80"
- "443:443"
- "8080:8080"
profiles:
- default

Expand Down

0 comments on commit 46baa07

Please sign in to comment.