ignore HTTPS

This commit is contained in:
Miroslav Šedivý 2020-01-22 21:46:06 +01:00
parent 9e0903d042
commit 4419456a1d
2 changed files with 2 additions and 2 deletions

View file

@ -22,12 +22,11 @@ docker-compose up -d
You can specify these environment variables, otherwise the default ones will be used:
* **HTTP_PORT=80** - where the blog will be accessible.
* **HTTPS_PORT=443** - if you want to use with HTTPS.
* **DATA=./data** - directory to store the user data.
These environment variables can be stored in the `.env` file or passed to the command directly:
```
HTTP_PORT=3001 HTTPS_PORT=3002 DATA=/home/user/blog docker-compose up -d
HTTP_PORT=3001 DATA=/home/user/blog docker-compose up -d
```
### Step 3: Copy the config

View file

@ -12,6 +12,7 @@ services:
- ${DATA-./data}:/var/www/html/data
mariadb:
image: mariadb:10.1
container_name: blog_mariadb
environment:
MYSQL_DATABASE: blog
MYSQL_ROOT_PASSWORD: root