Skip to content
Snippets Groups Projects
Commit c26943d7 authored by jurgenhaas's avatar jurgenhaas
Browse files

#9 Name containers explicitly

parent e9517f69
No related branches found
No related tags found
1 merge request!3Merging develop into main
Pipeline #542798 passed
......@@ -147,6 +147,7 @@ class Traefik {
'version' => '3.3',
'services' => [
'traefik' => [
'container_name' => 'traefik',
'image' => 'traefik:2.7',
'command' => [
'--api=true',
......@@ -190,6 +191,7 @@ class Traefik {
];
if ($this->addon_portainer) {
$config['services']['portainer'] = [
'container_name' => 'portainer',
'image' => 'portainer/portainer-ce:2.11.1',
'command' => '-H unix:///var/run/docker.sock',
'restart' => 'unless-stopped',
......@@ -221,6 +223,7 @@ class Traefik {
$config['services']['traefik']['ports'][] = '9900:9900';
$config['services']['traefik']['ports'][] = '9901:9901';
$config['services']['hub-agent'] = [
'container_name' => 'hub-agent',
'image' => 'ghcr.io/traefik/hub-agent-traefik:v0.7.0',
'command' => [
'run',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment