Fix V3.2: Add Carbone service (definitive)
This commit is contained in:
parent
bbe6a67cfd
commit
588e8dd9dd
|
|
@ -1,34 +1,37 @@
|
||||||
services:
|
services:
|
||||||
metabase:
|
mariadb:
|
||||||
image: metabase/metabase:latest
|
image: lscr.io/linuxserver/mariadb:latest
|
||||||
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
MB_DB_TYPE: postgres
|
MYSQL_ROOT_PASSWORD: {{ global_db_pass }}
|
||||||
MB_DB_HOST: postgres-core
|
MYSQL_DATABASE: bookstackapp
|
||||||
MB_DB_USER: postgres
|
MYSQL_USER: bookstack
|
||||||
MB_DB_PASS: {{ global_db_root_pass }}
|
MYSQL_PASSWORD: {{ global_db_pass }}
|
||||||
MB_DB_DBNAME: metabase
|
volumes:
|
||||||
networks:
|
- mysql_data:/config
|
||||||
- alicante_net
|
|
||||||
ports:
|
|
||||||
- "3001:3000"
|
|
||||||
|
|
||||||
bookstack:
|
bookstack:
|
||||||
image: lscr.io/linuxserver/bookstack:latest
|
image: lscr.io/linuxserver/bookstack:latest
|
||||||
|
depends_on:
|
||||||
|
- mariadb
|
||||||
environment:
|
environment:
|
||||||
DB_HOST: mariadb-core
|
APP_URL: http://{{ core_ip }}:6875
|
||||||
DB_USER: root
|
DB_HOST: mariadb
|
||||||
DB_PASS: {{ global_db_root_pass }}
|
DB_USER: bookstack
|
||||||
networks:
|
DB_PASS: {{ global_db_pass }}
|
||||||
- alicante_net
|
DB_DATABASE: bookstackapp
|
||||||
ports:
|
ports:
|
||||||
- "6875:80"
|
- "6875:80"
|
||||||
|
|
||||||
|
metabase:
|
||||||
|
image: metabase/metabase:latest
|
||||||
|
ports:
|
||||||
|
- "3001:3000"
|
||||||
|
|
||||||
gotenberg:
|
gotenberg:
|
||||||
image: gotenberg/gotenberg:8
|
image: gotenberg/gotenberg:8
|
||||||
networks:
|
ports:
|
||||||
- alicante_net
|
- "3002:3000"
|
||||||
# Gotenberg es una API, no suele necesitar puerto expuesto si se usa internamente,
|
|
||||||
# pero lo dejamos accesible por si acaso en el 3000 interno (o mapeado si quieres)
|
|
||||||
|
|
||||||
carbone:
|
carbone:
|
||||||
image: "{{ carbone_image }}:{{ carbone_version }}"
|
image: "{{ carbone_image }}:{{ carbone_version }}"
|
||||||
|
|
@ -41,20 +44,14 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- carbone_templates:/app/templates
|
- carbone_templates:/app/templates
|
||||||
- carbone_output:/app/output
|
- carbone_output:/app/output
|
||||||
networks:
|
|
||||||
- alicante_net
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:4000/health"]
|
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:4000/"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 40s
|
start_period: 40s
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
mysql_data:
|
||||||
networks:
|
|
||||||
alicante_net:
|
|
||||||
external: true
|
|
||||||
carbone_templates:
|
carbone_templates:
|
||||||
carbone_output:
|
carbone_output:
|
||||||
# Force Update
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue