adrema/docker-compose.prod.yml

85 lines
2.2 KiB
YAML
Raw Normal View History

2023-07-21 11:28:45 +02:00
version: '3'
services:
webservice:
image: zoomyboy/adrema-webservice:latest
depends_on:
- php
ports:
- '8000:80'
volumes:
- ./data/storage:/app/storage/app
php:
image: zoomyboy/adrema-app:latest
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
- ./cookies:/app/packages/laravel-nami/.cookies
horizon:
image: zoomyboy/adrema-app:latest
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
- ./cookies:/app/packages/laravel-nami/.cookies
schedule:
image: zoomyboy/adrema-app:latest
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
- ./cookies:/app/packages/laravel-nami/.cookies
db:
image: mariadb:10.6.5
env_file:
- .app.env
environment:
MARIADB_RANDOM_ROOT_PASSWORD: yes
MYSQL_DATABASE: db
MYSQL_USER: db
volumes:
- ./data/db:/var/lib/mysql
redis:
image: redis:alpine3.18
container_name: redis