adrema/docker-compose.prod.yml

118 lines
3.4 KiB
YAML
Raw Permalink Normal View History

2023-07-21 11:28:45 +02:00
version: '3'
services:
webservice:
image: zoomyboy/adrema-webservice:latest
2023-08-15 15:07:55 +02:00
restart: always
2023-07-21 11:28:45 +02:00
depends_on:
- php
ports:
- '8000:80'
volumes:
- ./data/storage/public:/app/storage/app/public
2023-07-21 11:28:45 +02:00
php:
image: zoomyboy/adrema-app:latest
2023-08-15 15:07:55 +02:00
restart: always
2023-07-21 11:28:45 +02:00
depends_on:
- db
2023-09-07 14:40:31 +02:00
- redis
- socketi
2023-07-25 12:21:41 +02:00
command: /bin/entrypoint app
2023-07-21 11:28:45 +02:00
env_file:
- .app.env
environment:
DB_HOST: db
DB_DATABASE: db
DB_USERNAME: db
QUEUE_CONNECTION: redis
XELATEX_BIN: /usr/bin/xelatex
PDFLATEX_BIN: /usr/bin/pdflatex
REDIS_HOST: redis
MEILISEARCH_HOST: http://meilisearch:7700
MEILISEARCH_KEY: abc
2023-07-21 11:28:45 +02:00
volumes:
- ./data/storage:/app/storage/app
2023-12-20 23:06:28 +01:00
- ./data/plugins:/app/plugins
- ./data/cookies:/app/packages/laravel-nami/.cookies
2024-07-17 23:29:00 +02:00
- ./data/invoice:/app/resources/views/tex/invoice
2023-07-21 11:28:45 +02:00
horizon:
image: zoomyboy/adrema-app:latest
2023-08-15 15:07:55 +02:00
restart: always
2023-07-21 11:28:45 +02:00
depends_on:
- php
2023-07-25 12:21:41 +02:00
command: /bin/entrypoint horizon
env_file:
- .app.env
environment:
DB_HOST: db
DB_DATABASE: db
DB_USERNAME: db
QUEUE_CONNECTION: redis
XELATEX_BIN: /usr/bin/xelatex
PDFLATEX_BIN: /usr/bin/pdflatex
REDIS_HOST: redis
MEILISEARCH_HOST: http://meilisearch:7700
MEILISEARCH_KEY: abc
2023-07-25 12:21:41 +02:00
volumes:
- ./data/storage:/app/storage/app
2023-12-20 23:06:28 +01:00
- ./data/plugins:/app/plugins
2023-09-07 14:38:21 +02:00
- ./data/cookies:/app/packages/laravel-nami/.cookies
2024-07-17 23:29:00 +02:00
- ./data/invoice:/app/resources/views/tex/invoice
2023-07-25 12:21:41 +02:00
schedule:
image: zoomyboy/adrema-app:latest
2023-08-15 15:07:55 +02:00
restart: always
2023-07-25 12:21:41 +02:00
depends_on:
- php
command: /bin/entrypoint schedule
2023-07-21 11:28:45 +02:00
env_file:
- .app.env
environment:
DB_HOST: db
DB_DATABASE: db
DB_USERNAME: db
QUEUE_CONNECTION: redis
XELATEX_BIN: /usr/bin/xelatex
PDFLATEX_BIN: /usr/bin/pdflatex
REDIS_HOST: redis
MEILISEARCH_HOST: http://meilisearch:7700
MEILISEARCH_KEY: abc
2023-07-21 11:28:45 +02:00
volumes:
- ./data/storage:/app/storage/app
2023-12-20 23:06:28 +01:00
- ./data/plugins:/app/plugins
- ./data/cookies:/app/packages/laravel-nami/.cookies
2024-07-17 23:29:00 +02:00
- ./data/invoice:/app/resources/views/tex/invoice
2023-07-21 11:28:45 +02:00
db:
image: mariadb:10.6.5
2023-08-15 15:07:55 +02:00
restart: always
2023-07-21 11:28:45 +02:00
env_file:
- .app.env
environment:
MARIADB_RANDOM_ROOT_PASSWORD: yes
MYSQL_DATABASE: db
MYSQL_USER: db
volumes:
- ./data/db:/var/lib/mysql
2023-08-15 15:07:55 +02:00
socketi:
image: quay.io/soketi/soketi:89604f268623cf799573178a7ba56b7491416bde-16-debian
restart: always
environment:
SOKETI_DEFAULT_APP_ID: adremaid
SOKETI_DEFAULT_APP_KEY: adremakey
SOKETI_DEFAULT_APP_SECRET: adremasecret
2023-07-21 11:28:45 +02:00
redis:
image: redis:alpine3.18
2023-08-15 15:07:55 +02:00
restart: always
2023-09-07 14:38:21 +02:00
volumes:
- ./data/redis:/data
2024-01-25 23:40:29 +01:00
meilisearch:
image: getmeili/meilisearch:v1.6
command: 'meilisearch --master-key="abc"'
volumes:
- ./data/meilisearch:/meili_data