added traefik to webapp

This commit is contained in:
andreas
2022-07-31 17:43:38 +00:00
parent 0aab815e49
commit 799fb5ecad
3 changed files with 29 additions and 1 deletions

View File

@@ -3,7 +3,8 @@
docker run -d --name apache -p80:80 -v/root/kopano/dist:/var/www httpd
# export DOCKER_BUILDKIT=1
docker build -t webapp .
docker run --rm -it --name webapp -v/root/kopano/webapp/etc/apache2:/etc/apache2 -v/root/kopano/webapp/etc/ssl:/etc/ssl webapp
# docker tag -t webapp:latest ...
docker run --rm -it --name webapp -d MAIL_DOMAIN=zntrl.de -v/root/kopano/webapp/etc/apache2:/etc/apache2 -v/root/kopano/webapp/etc/ssl:/etc/ssl webapp
docker logs -f webapp
docker exec -it webapp bash