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:/app/storage/app
|
|
|
|
|
|
|
|
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-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
|
|
|
|
volumes:
|
|
|
|
- ./data/storage:/app/storage/app
|
2023-09-05 16:42:39 +02:00
|
|
|
- ./data/cookies:/app/packages/laravel-nami/.cookies
|
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:
|
|
|
|
- db
|
|
|
|
- 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
|
|
|
|
volumes:
|
|
|
|
- ./data/storage:/app/storage/app
|
2023-09-07 14:38:21 +02:00
|
|
|
- ./data/cookies:/app/packages/laravel-nami/.cookies
|
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:
|
|
|
|
- db
|
|
|
|
- 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
|
|
|
|
volumes:
|
|
|
|
- ./data/storage:/app/storage/app
|
2023-09-05 16:42:39 +02:00
|
|
|
- ./data/cookies:/app/packages/laravel-nami/.cookies
|
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
|