adrema/docker-compose.yml

112 lines
3.0 KiB
YAML
Raw Normal View History

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:
2024-01-01 22:39:47 +01:00
- ./data/storage/public:/app/public/storage
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-09-07 14:40:31 +02:00
- redis
- socketi
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-19 00:13:36 +02:00
- ./data/plugins:/app/plugins
- ./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:
- 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-19 00:13:36 +02:00
- ./data/plugins:/app/plugins
- ./data/cookies:/app/packages/laravel-nami/.cookies
2023-07-24 18:19:32 +02:00
schedule:
build:
context: .
dockerfile: ./.docker/php.Dockerfile
depends_on:
- 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-19 00:13:36 +02:00
- ./data/plugins:/app/plugins
- ./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
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
ports:
- '7700:7700'