Merge pull request #1758 from nhazdun/master
Feature: Add new container Athena pdf (Weaver)
This commit is contained in:
commit
77a805c066
@ -1388,6 +1388,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${DATA_PATH_HOST}/gitlab/runner:/etc/gitlab-runner
|
- ${DATA_PATH_HOST}/gitlab/runner:/etc/gitlab-runner
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:rw
|
- /var/run/docker.sock:/var/run/docker.sock:rw
|
||||||
|
restart: always
|
||||||
|
|
||||||
### JupyterHub #########################################
|
### JupyterHub #########################################
|
||||||
jupyterhub:
|
jupyterhub:
|
||||||
@ -1517,6 +1518,18 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
|
### Weaver (Athena PDF) #################################################
|
||||||
|
weaver:
|
||||||
|
image: arachnysdocker/athenapdf-service
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
env_file:
|
||||||
|
- ./weaver/conf/sample.env
|
||||||
|
networks:
|
||||||
|
- backend
|
||||||
|
depends_on:
|
||||||
|
- workspace
|
||||||
|
|
||||||
### IDE-THEIA ################################################
|
### IDE-THEIA ################################################
|
||||||
ide-theia:
|
ide-theia:
|
||||||
build:
|
build:
|
||||||
|
19
weaver/conf/sample.env
Normal file
19
weaver/conf/sample.env
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
GIN_MODE=debug
|
||||||
|
|
||||||
|
# Weaver
|
||||||
|
WEAVER_AUTH_KEY=arachnys-weaver
|
||||||
|
WEAVER_ATHENA_CMD=athenapdf -S
|
||||||
|
WEAVER_MAX_WORKERS=10
|
||||||
|
WEAVER_MAX_CONVERSION_QUEUE=50
|
||||||
|
WEAVER_WORKER_TIMEOUT=90
|
||||||
|
WEAVER_CONVERSION_FALLBACK=false
|
||||||
|
|
||||||
|
# CloudConvert
|
||||||
|
# API key can be found: https://cloudconvert.com/user/profile
|
||||||
|
# CLOUDCONVERT_API=https://api.cloudconvert.com
|
||||||
|
# CLOUDCONVERT_KEY=
|
||||||
|
|
||||||
|
# Monitoring
|
||||||
|
# STATSD_ADDRESS=
|
||||||
|
# STATSD_PREFIX=
|
||||||
|
# SENTRY_DSN=
|
Loading…
Reference in New Issue
Block a user