added bins to remove and add sites, changed dockerfile. added new format

This commit is contained in:
lars-hagen
2019-12-25 20:38:38 +01:00
parent a6543f4a77
commit 316c348b5c
8 changed files with 8 additions and 6 deletions
+2 -3
View File
@@ -1,4 +1,4 @@
LITESPEED=1.5.10 LITESPEED=1.6.4.lh
WEB_ADMIN_PASSWORD=litespeed WEB_ADMIN_PASSWORD=litespeed
@@ -12,7 +12,6 @@ DOMAIN=127.0.0.1
ADMIN_USERNAME=admin ADMIN_USERNAME=admin
ADMIN_PASSWORD=password ADMIN_PASSWORD=password
ADMIN_EMAIL=test@test.com ADMIN_EMAIL=test@test.com
WP_TITLE=OpenLiteSpeed running in docker WP_TITLE="OpenLiteSpeed running in docker"
WP_DB_PREFIX=wp_ WP_DB_PREFIX=wp_
+6 -3
View File
@@ -18,9 +18,10 @@ services:
env_file: env_file:
- .env - .env
volumes: volumes:
- ./sites:/var/www/html/ - ./conf:/usr/local/lsws/conf
- ./sites:/usr/local/lsws/Example/logs/access.log - ./bin/container:/usr/local/bin
- ./sites/logs:/usr/local/lsws/logs/ - ./sites:/var/www/vhosts/
- ./logs:/usr/local/lsws/logs/
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
@@ -34,3 +35,5 @@ services:
- 8080:80 - 8080:80
environment: environment:
- MEMORY=-1 - MEMORY=-1
volumes:
litespeed_conf:
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
View File
View File
View File
View File