2023-05-15 19:48:37 +02:00
|
|
|
version: '3'
|
2022-02-28 21:07:12 +01:00
|
|
|
services:
|
2023-05-15 19:48:37 +02:00
|
|
|
webservice:
|
2023-07-21 11:28:45 +02:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./.docker/nginx.Dockerfile
|
2023-05-15 19:48:37 +02:00
|
|
|
depends_on:
|
|
|
|
- php
|
|
|
|
ports:
|
|
|
|
- '8000:80'
|
2023-07-20 23:19:59 +02:00
|
|
|
volumes:
|
2023-07-21 11:28:45 +02:00
|
|
|
- ./data/storage:/app/storage/app
|
2023-05-15 19:48:37 +02:00
|
|
|
|
|
|
|
php:
|
2023-07-21 11:28:45 +02:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./.docker/php.Dockerfile
|
2023-05-15 19:48:37 +02:00
|
|
|
depends_on:
|
|
|
|
- db
|
2023-07-24 17:34:38 +02:00
|
|
|
command: /bin/entrypoint app
|
2023-05-15 19:48:37 +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
|
2023-07-20 23:19:59 +02:00
|
|
|
volumes:
|
2023-07-21 11:28:45 +02:00
|
|
|
- ./data/storage:/app/storage/app
|
2023-09-05 16:42:39 +02:00
|
|
|
- ./data/cookies:/app/packages/laravel-nami/.cookies
|
2023-05-15 19:48:37 +02:00
|
|
|
|
|
|
|
horizon:
|
2023-07-21 11:28:45 +02:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./.docker/php.Dockerfile
|
2023-05-15 19:48:37 +02:00
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- php
|
2023-07-24 17:34:38 +02:00
|
|
|
command: /bin/entrypoint horizon
|
2023-05-15 19:48:37 +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
|
2023-07-24 18:19:32 +02:00
|
|
|
volumes:
|
|
|
|
- ./data/storage:/app/storage/app
|
2023-09-05 16:42:39 +02:00
|
|
|
- ./data/cookies:/app/packages/laravel-nami/.cookies
|
2023-07-24 18:19:32 +02:00
|
|
|
|
|
|
|
schedule:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./.docker/php.Dockerfile
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- php
|
|
|
|
command: /bin/entrypoint schedule
|
|
|
|
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-05-15 19:48:37 +02:00
|
|
|
|
|
|
|
db:
|
|
|
|
image: mariadb:10.6.5
|
2023-07-20 20:28:19 +02:00
|
|
|
env_file:
|
|
|
|
- .app.env
|
2023-05-15 19:48:37 +02:00
|
|
|
environment:
|
2023-07-20 20:28:19 +02:00
|
|
|
MARIADB_RANDOM_ROOT_PASSWORD: yes
|
2023-05-15 19:48:37 +02:00
|
|
|
MYSQL_DATABASE: db
|
|
|
|
MYSQL_USER: db
|
|
|
|
volumes:
|
|
|
|
- ./data/db:/var/lib/mysql
|
|
|
|
|
2023-07-25 17:23:48 +02:00
|
|
|
socketi:
|
|
|
|
image: quay.io/soketi/soketi:89604f268623cf799573178a7ba56b7491416bde-16-debian
|
|
|
|
environment:
|
|
|
|
SOKETI_DEFAULT_APP_ID: adremaid
|
|
|
|
SOKETI_DEFAULT_APP_KEY: adremakey
|
|
|
|
SOKETI_DEFAULT_APP_SECRET: adremasecret
|
|
|
|
|
2023-05-15 19:48:37 +02:00
|
|
|
redis:
|
|
|
|
image: redis:alpine3.18
|
|
|
|
container_name: redis
|