Browse Source

fix traefik

master
P.H. Vos 5 years ago
parent
commit
09c4d56dd8
  1. 4
      stacks/webhosting/docker-stack.yml
  2. 6
      stacks/webhosting/docker-stack7.yml
  3. 2
      templates.json

4
stacks/webhosting/docker-stack.yml

@ -10,6 +10,10 @@ services: @@ -10,6 +10,10 @@ services:
web:
ports:
- 80/tcp
networks:
default:
external:
name: traefik-net
environment:
APACHE_DOCUMENTROOT: /home/www/site
APACHE_LOCK_DIR: /var/lock/apache2

6
stacks/webhosting/docker-stack7.yml

@ -10,8 +10,10 @@ services: @@ -10,8 +10,10 @@ services:
web:
ports:
- 80/tcp
networks:
- traefik-net
networks:
default:
external:
name: traefik-net
environment:
APACHE_DOCUMENTROOT: /home/www/site
APACHE_LOCK_DIR: /var/lock/apache2

2
templates.json

@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
{
"name": "APACHE_SERVERALIAS",
"label": "DOMAIN ALIAS",
"value": "sub.{domain}"
"value": ""
}
]
},

Loading…
Cancel
Save