🔼 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
|
||||
env:
|
||||
USE_SSH: true
|
||||
GIT_USER: git
|
||||
GIT_USER: rishighan
|
||||
run: |
|
||||
git config --global user.email "rishi.ghan@gmail.com"
|
||||
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.
|
||||
3. Hover over the gear next to it and click on `Edit Stack`.
|
||||
4. Copy-paste this into the textarea:
|
||||
```yaml
|
||||
version: "3.7"
|
||||
```yaml
|
||||
version: "3.7"
|
||||
|
||||
x-userdata-volume:
|
||||
&userdata-volume
|
||||
type: bind
|
||||
source: ${USERDATA_DIRECTORY}
|
||||
target: /userdata
|
||||
x-userdata-volume: &userdata-volume
|
||||
type: bind
|
||||
source: ${USERDATA_DIRECTORY}
|
||||
target: /userdata
|
||||
|
||||
x-comics-volume:
|
||||
&comics-volume
|
||||
type: bind
|
||||
source: ${COMICS_DIRECTORY}
|
||||
target: /comics
|
||||
x-comics-volume: &comics-volume
|
||||
type: bind
|
||||
source: ${COMICS_DIRECTORY}
|
||||
target: /comics
|
||||
|
||||
services:
|
||||
threetwo:
|
||||
build:
|
||||
context: https://github.com/rishighan/threetwo.git
|
||||
dockerfile: Dockerfile
|
||||
image: frishi/threetwo
|
||||
container_name: threetwo-ui
|
||||
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8050:8050"
|
||||
- "3050:3050"
|
||||
links:
|
||||
- core-services
|
||||
depends_on:
|
||||
- db
|
||||
- elasticsearch
|
||||
- redis
|
||||
networks:
|
||||
- proxy
|
||||
services:
|
||||
threetwo:
|
||||
build:
|
||||
context: https://github.com/rishighan/threetwo.git
|
||||
dockerfile: Dockerfile
|
||||
image: frishi/threetwo
|
||||
container_name: threetwo-ui
|
||||
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8050:8050"
|
||||
- "3050:3050"
|
||||
links:
|
||||
- core-services
|
||||
depends_on:
|
||||
- db
|
||||
- elasticsearch
|
||||
- redis
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
metadata-service:
|
||||
build:
|
||||
context: https://github.com/rishighan/threetwo-metadata-service.git
|
||||
image: frishi/threetwo-metadata-service
|
||||
container_name: metadata-service
|
||||
ports:
|
||||
- "3080:3080"
|
||||
environment:
|
||||
SERVICES: api,comicvine
|
||||
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
||||
depends_on:
|
||||
- redis
|
||||
volumes:
|
||||
- *comics-volume
|
||||
- *userdata-volume
|
||||
networks:
|
||||
- proxy
|
||||
metadata-service:
|
||||
build:
|
||||
context: https://github.com/rishighan/threetwo-metadata-service.git
|
||||
image: frishi/threetwo-metadata-service
|
||||
container_name: metadata-service
|
||||
ports:
|
||||
- "3080:3080"
|
||||
environment:
|
||||
SERVICES: api,comicvine
|
||||
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
||||
depends_on:
|
||||
- redis
|
||||
volumes:
|
||||
- *comics-volume
|
||||
- *userdata-volume
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
core-services:
|
||||
build:
|
||||
context: https://github.com/rishighan/threetwo-core-service.git
|
||||
image: frishi/threetwo-core-service
|
||||
container_name: core-services
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "3001:3001"
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
- elasticsearch
|
||||
environment:
|
||||
name: core-services
|
||||
SERVICES: api,library,importqueue,settings,search,socket,imagetransformation,opds
|
||||
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
||||
volumes:
|
||||
- *comics-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
|
||||
core-services:
|
||||
build:
|
||||
context: https://github.com/rishighan/threetwo-core-service.git
|
||||
image: frishi/threetwo-core-service
|
||||
container_name: core-services
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "3001:3001"
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
- elasticsearch
|
||||
environment:
|
||||
name: core-services
|
||||
SERVICES: api,library,importqueue,settings,search,socket,imagetransformation,opds
|
||||
env_file: /boot/config/plugins/compose.manager/projects/ThreeTwo/.env
|
||||
volumes:
|
||||
- *comics-volume
|
||||
- *userdata-volume
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
- proxy
|
||||
|
||||
db:
|
||||
image: "bitnami/mongodb:latest"
|
||||
container_name: database
|
||||
networks:
|
||||
- proxy
|
||||
ports:
|
||||
- "27017:27017"
|
||||
volumes:
|
||||
mongodb_data:
|
||||
driver: local
|
||||
elasticsearch:
|
||||
driver: local
|
||||
- "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:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
mongodb_data:
|
||||
driver: local
|
||||
elastic:
|
||||
driver: local
|
||||
```
|
||||
|
||||
5. Click `Save Changes`
|
||||
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:
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
"typecheck": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "^2.0.0-beta.6",
|
||||
"@docusaurus/preset-classic": "^2.0.0-beta.6",
|
||||
"@docusaurus/core": "^2.1.0",
|
||||
"@docusaurus/preset-classic": "^2.1.0",
|
||||
"@mdx-js/react": "^1.6.21",
|
||||
"@svgr/webpack": "^5.5.0",
|
||||
"clsx": "^1.1.1",
|
||||
@@ -27,7 +27,7 @@
|
||||
"url-loader": "^4.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "2.0.0-beta.6",
|
||||
"@docusaurus/module-type-aliases": "^2.1.0",
|
||||
"@tsconfig/docusaurus": "^1.0.4",
|
||||
"typescript": "^4.3.5"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user