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