-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.coolify.yml
40 lines (40 loc) · 1.06 KB
/
docker-compose.coolify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
services:
loger:
build:
args:
uid: 1000
TZ: America\New_York
context: ./
dockerfile: coolify.Dockerfile
image: freesgen/loger
container_name: loger-app
restart: unless-stopped
volumes:
- ./docker-compose/web/timezone:/etc/timezone
- ./storage:/var/www/storage
- /var/.config/gcloud/loger/credentials.json:/var/www/credentials.json
env_file:
- .env
environment:
AUTORUN_ENABLED: true
AUTORUN_LARAVEL_MIGRATION_ISOLATION: true
DB_CONNECTION: mysql
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT}
DB_DATABASE: ${DB_DATABASE}
DB_USERNAME: ${DB_USERNAME}
DB_PASSWORD: ${DB_PASSWORD}
task:
image: freesgen/loger
command: ["php", "/var/www/html/artisan", "schedule:work"]
environment:
PHP_PFM_POOL_NAME: "loger_task"
depends_on:
- loger
queue:
image: freesgen/loger
command: ["php", "/var/www/html/artisan", "queue:work", "--tries=3"]
environment:
PHP_FPM_POOL_NAME: "loger_queue"
depends_on:
- loger