chore(codex-docs): update config to work on arm
This commit is contained in:
parent
1247a44c60
commit
04eb4d2a13
|
@ -3,10 +3,10 @@
|
|||
"name": "CodeX.docs",
|
||||
"available": true,
|
||||
"exposable": true,
|
||||
"port": 8086,
|
||||
"port": 8101,
|
||||
"id": "codex-docs",
|
||||
"tipi_version": 1,
|
||||
"version": "v2",
|
||||
"version": "v2.1",
|
||||
"categories": ["media"],
|
||||
"description": "CodeX Docs is a free docs application. It's based on Editor.js ecosystem which gives all modern opportunities for working with content. You can use it for product documentation, for internal team docs, for personal notes or any other need. ",
|
||||
"short_desc": "Free Docs app powered by Editor.js ecosystem.",
|
||||
|
@ -19,19 +19,19 @@
|
|||
"max": 50,
|
||||
"min": 3,
|
||||
"required": true,
|
||||
"env_variable": "APP_CONFIG_auth_password"
|
||||
"env_variable": "CODEX_AUTH_PASSWORD"
|
||||
},
|
||||
{
|
||||
"type": "random",
|
||||
"label": "MONGO_INITDB_ROOT_PASSWORD",
|
||||
"label": "CODEX_DB_PASSWORD",
|
||||
"min": 32,
|
||||
"env_variable": "MONGO_INITDB_ROOT_PASSWORD"
|
||||
"env_variable": "CODEX_DB_PASSWORD"
|
||||
},
|
||||
{
|
||||
"type": "random",
|
||||
"label": "APP_CONFIG_auth_secret",
|
||||
"label": "CODEX_AUTH_SECRET",
|
||||
"min": 32,
|
||||
"env_variable": "APP_CONFIG_auth_secret"
|
||||
"env_variable": "CODEX_AUTH_SECRET"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,16 +1,17 @@
|
|||
version: "3.2"
|
||||
version: '3.2'
|
||||
|
||||
services:
|
||||
codex-docs:
|
||||
image: ghcr.io/codex-team/codex.docs:v2
|
||||
container_name: codex-docs
|
||||
image: ghcr.io/codex-team/codex.docs:v2.1
|
||||
ports:
|
||||
- ${APP_PORT}:3000
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- APP_CONFIG_auth_password=${APP_CONFIG_auth_password}
|
||||
- APP_CONFIG_auth_secret=${APP_CONFIG_auth_secret}
|
||||
- APP_CONFIG_auth_password=${CODEX_AUTH_PASSWORD}
|
||||
- APP_CONFIG_auth_secret=${CODEX_AUTH_SECRET}
|
||||
- APP_CONFIG_database_driver=mongodb
|
||||
- APP_CONFIG_database_mongodb_uri=mongodb://tipi:${mongoPassword}@codex-mongo:27017`,
|
||||
- APP_CONFIG_database_mongodb_uri=mongodb://tipi:${CODEX_DB_PASSWORD}@codex-db:27017
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/uploads:/usr/src/app/uploads
|
||||
- ${APP_DATA_DIR}/data/db:/usr/src/app/db
|
||||
|
@ -24,12 +25,13 @@ services:
|
|||
traefik.http.routers.codex-docs.service: codex-docs
|
||||
traefik.http.routers.codex-docs.tls.certresolver: myresolver
|
||||
traefik.http.services.codex-docs.loadbalancer.server.port: 3000
|
||||
codex-mongo:
|
||||
image: mongo
|
||||
|
||||
codex-db:
|
||||
container_name: codex-db
|
||||
image: mongo:latest
|
||||
restart: always
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: tipi
|
||||
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_INITDB_ROOT_PASSWORD}
|
||||
MONGO_INITDB_ROOT_PASSWORD: ${CODEX_DB_PASSWORD}
|
||||
networks:
|
||||
- tipi_main_network
|
||||
|
Loading…
Reference in New Issue
Block a user