🔼 Bumped docusaurus and fixed malformed yaml
This commit is contained in:
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: Release to GitHub Pages
|
- name: Release to GitHub Pages
|
||||||
env:
|
env:
|
||||||
USE_SSH: true
|
USE_SSH: true
|
||||||
GIT_USER: git
|
GIT_USER: rishighan
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "rishi.ghan@gmail.com"
|
git config --global user.email "rishi.ghan@gmail.com"
|
||||||
git config --global user.name "rishighan"
|
git config --global user.name "rishighan"
|
||||||
|
|||||||
@@ -53,131 +53,130 @@ First things first, let's go over what the pre-requisites are:
|
|||||||
2. Create a new stack, give it a name.
|
2. Create a new stack, give it a name.
|
||||||
3. Hover over the gear next to it and click on `Edit Stack`.
|
3. Hover over the gear next to it and click on `Edit Stack`.
|
||||||
4. Copy-paste this into the textarea:
|
4. Copy-paste this into the textarea:
|
||||||
```yaml
|
```yaml
|
||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
x-userdata-volume:
|
x-userdata-volume: &userdata-volume
|
||||||
&userdata-volume
|
type: bind
|
||||||
type: bind
|
source: ${USERDATA_DIRECTORY}
|
||||||
source: ${USERDATA_DIRECTORY}
|
target: /userdata
|
||||||
target: /userdata
|
|
||||||
|
|
||||||
x-comics-volume:
|
x-comics-volume: &comics-volume
|
||||||
&comics-volume
|
type: bind
|
||||||
type: bind
|
source: ${COMICS_DIRECTORY}
|
||||||
source: ${COMICS_DIRECTORY}
|
target: /comics
|
||||||
target: /comics
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
threetwo:
|
threetwo:
|
||||||
build:
|
build:
|
||||||
context: https://github.com/rishighan/threetwo.git
|
context: https://github.com/rishighan/threetwo.git
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: frishi/threetwo
|
image: frishi/threetwo
|
||||||
container_name: threetwo-ui
|
container_name: threetwo-ui
|
||||||
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8050:8050"
|
- "8050:8050"
|
||||||
- "3050:3050"
|
- "3050:3050"
|
||||||
links:
|
links:
|
||||||
- core-services
|
- core-services
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
- redis
|
- redis
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
metadata-service:
|
metadata-service:
|
||||||
build:
|
build:
|
||||||
context: https://github.com/rishighan/threetwo-metadata-service.git
|
context: https://github.com/rishighan/threetwo-metadata-service.git
|
||||||
image: frishi/threetwo-metadata-service
|
image: frishi/threetwo-metadata-service
|
||||||
container_name: metadata-service
|
container_name: metadata-service
|
||||||
ports:
|
ports:
|
||||||
- "3080:3080"
|
- "3080:3080"
|
||||||
environment:
|
environment:
|
||||||
SERVICES: api,comicvine
|
SERVICES: api,comicvine
|
||||||
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
volumes:
|
volumes:
|
||||||
- *comics-volume
|
- *comics-volume
|
||||||
- *userdata-volume
|
- *userdata-volume
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
core-services:
|
core-services:
|
||||||
build:
|
build:
|
||||||
context: https://github.com/rishighan/threetwo-core-service.git
|
context: https://github.com/rishighan/threetwo-core-service.git
|
||||||
image: frishi/threetwo-core-service
|
image: frishi/threetwo-core-service
|
||||||
container_name: core-services
|
container_name: core-services
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
- "3001:3001"
|
- "3001:3001"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
environment:
|
environment:
|
||||||
name: core-services
|
name: core-services
|
||||||
SERVICES: api,library,importqueue,settings,search,socket,imagetransformation,opds
|
SERVICES: api,library,importqueue,settings,search,socket,imagetransformation,opds
|
||||||
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
||||||
volumes:
|
volumes:
|
||||||
- *comics-volume
|
- *comics-volume
|
||||||
- *userdata-volume
|
- *userdata-volume
|
||||||
|
|
||||||
networks:
|
|
||||||
- proxy
|
|
||||||
|
|
||||||
db:
|
|
||||||
image: "bitnami/mongodb:latest"
|
|
||||||
container_name: database
|
|
||||||
networks:
|
|
||||||
- proxy
|
|
||||||
ports:
|
|
||||||
- "27017:27017"
|
|
||||||
volumes:
|
|
||||||
- "mongodb_data:/bitnami/mongodb"
|
|
||||||
|
|
||||||
redis:
|
|
||||||
image: "bitnami/redis:latest"
|
|
||||||
container_name: queue
|
|
||||||
environment:
|
|
||||||
ALLOW_EMPTY_PASSWORD: "yes"
|
|
||||||
networks:
|
|
||||||
- proxy
|
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
|
|
||||||
elasticsearch:
|
|
||||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.2
|
|
||||||
container_name: elasticsearch
|
|
||||||
environment:
|
|
||||||
- "discovery.type=single-node"
|
|
||||||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
|
||||||
- "xpack.security.enabled=true"
|
|
||||||
- "xpack.security.authc.api_key.enabled=true"
|
|
||||||
- "ELASTIC_PASSWORD=password"
|
|
||||||
ulimits:
|
|
||||||
memlock:
|
|
||||||
soft: -1
|
|
||||||
hard: -1
|
|
||||||
ports:
|
|
||||||
- 9200:9200
|
|
||||||
networks:
|
|
||||||
- proxy
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
- proxy
|
||||||
external: true
|
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: "bitnami/mongodb:latest"
|
||||||
|
container_name: database
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
ports:
|
||||||
|
- "27017:27017"
|
||||||
volumes:
|
volumes:
|
||||||
mongodb_data:
|
- "mongodb_data:/bitnami/mongodb"
|
||||||
driver: local
|
|
||||||
elasticsearch:
|
redis:
|
||||||
driver: local
|
image: "bitnami/redis:latest"
|
||||||
|
container_name: queue
|
||||||
|
environment:
|
||||||
|
ALLOW_EMPTY_PASSWORD: "yes"
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
ports:
|
||||||
|
- "6379:6379"
|
||||||
|
|
||||||
|
elasticsearch:
|
||||||
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.2
|
||||||
|
container_name: elasticsearch
|
||||||
|
environment:
|
||||||
|
- "discovery.type=single-node"
|
||||||
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
||||||
|
- "xpack.security.enabled=true"
|
||||||
|
- "xpack.security.authc.api_key.enabled=true"
|
||||||
|
- "ELASTIC_PASSWORD=password"
|
||||||
|
ulimits:
|
||||||
|
memlock:
|
||||||
|
soft: -1
|
||||||
|
hard: -1
|
||||||
|
ports:
|
||||||
|
- 9200:9200
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
mongodb_data:
|
||||||
|
driver: local
|
||||||
|
elastic:
|
||||||
|
driver: local
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Click `Save Changes`
|
5. Click `Save Changes`
|
||||||
6. Click `Compose Up` and check for errors.
|
6. Click `Compose Up` and check for errors.
|
||||||
7. If all goes well, you should see the following containers appear as icons without images in the unRAID `Docker Containers` panel:
|
7. If all goes well, you should see the following containers appear as icons without images in the unRAID `Docker Containers` panel:
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
"typecheck": "tsc"
|
"typecheck": "tsc"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "^2.0.0-beta.6",
|
"@docusaurus/core": "^2.1.0",
|
||||||
"@docusaurus/preset-classic": "^2.0.0-beta.6",
|
"@docusaurus/preset-classic": "^2.1.0",
|
||||||
"@mdx-js/react": "^1.6.21",
|
"@mdx-js/react": "^1.6.21",
|
||||||
"@svgr/webpack": "^5.5.0",
|
"@svgr/webpack": "^5.5.0",
|
||||||
"clsx": "^1.1.1",
|
"clsx": "^1.1.1",
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
"url-loader": "^4.1.1"
|
"url-loader": "^4.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@docusaurus/module-type-aliases": "2.0.0-beta.6",
|
"@docusaurus/module-type-aliases": "^2.1.0",
|
||||||
"@tsconfig/docusaurus": "^1.0.4",
|
"@tsconfig/docusaurus": "^1.0.4",
|
||||||
"typescript": "^4.3.5"
|
"typescript": "^4.3.5"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user