mirror of
https://github.com/runyanjake/jake.runyan.dev.git
synced 2025-10-04 13:57:29 -07:00
Update readme for when project is copied
This commit is contained in:
parent
29c9c044d9
commit
c762d7c1ba
@ -8,4 +8,4 @@ EXPOSE 3000
|
|||||||
|
|
||||||
WORKDIR /srv/website
|
WORKDIR /srv/website
|
||||||
|
|
||||||
CMD [ "npm", "install", "&&", "npx", "docusaurus", "start", "-h0.0.0.0" ]
|
CMD [ "npx", "docusaurus", "start", "-h0.0.0.0" ]
|
||||||
|
@ -17,10 +17,12 @@ A personal website/blog, powered by the content-first & react-based web fram
|
|||||||
|
|
||||||
### Running the Project
|
### Running the Project
|
||||||
|
|
||||||
1. Run locally with nvm
|
1. Clone, and run `npm install` from the website directory.
|
||||||
|
|
||||||
|
2. Run locally with nvm
|
||||||
|
|
||||||
`cd website && npm run start`
|
`cd website && npm run start`
|
||||||
|
|
||||||
2. Run as container with docker-compose
|
3. Run as container with docker-compose
|
||||||
|
|
||||||
docker-compose build && docker-compose up -d && docker logs -f website
|
docker-compose build && docker-compose up -d && docker logs -f website
|
||||||
|
@ -16,4 +16,5 @@ services:
|
|||||||
- traefik.http.routers.website.tls=true
|
- traefik.http.routers.website.tls=true
|
||||||
- traefik.http.routers.website.tls.certresolver=lets-encrypt
|
- traefik.http.routers.website.tls.certresolver=lets-encrypt
|
||||||
- traefik.http.services.website.loadbalancer.server.port=3000
|
- traefik.http.services.website.loadbalancer.server.port=3000
|
||||||
- traefik.port=3002
|
- traefik.port=3002
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user