Adding compose file
This commit is contained in:
parent
f805d69ea4
commit
1e37e332f1
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
content
|
content
|
||||||
website
|
website
|
||||||
compose.yml
|
|
||||||
|
@ -6,10 +6,7 @@ located at [matterlinux.xyz](https://matterlinux.xyz)
|
|||||||
Web server can be built and deployed with docker:
|
Web server can be built and deployed with docker:
|
||||||
```
|
```
|
||||||
docker build --tag matterwebsite .
|
docker build --tag matterwebsite .
|
||||||
docker run -d --name matterweb \
|
docker-compose up -d
|
||||||
-p 127.0.0.1:9878:9878 \
|
|
||||||
-v $PWD/content:/app/content \
|
|
||||||
matterwebsite
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Managing Content
|
### Managing Content
|
||||||
|
10
compose.yml
Normal file
10
compose.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
tracker:
|
||||||
|
image: matterwebsite
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:9878:9878"
|
||||||
|
volumes:
|
||||||
|
- "./content:/app/content"
|
Loading…
Reference in New Issue
Block a user