-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
58 lines (53 loc) · 1.29 KB
/
docker-compose.dev.yml
File metadata and controls
58 lines (53 loc) · 1.29 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
services:
archethic_app:
image: ancelade/php-nginx-d:8.3
container_name: archethic_app
working_dir: /var/www/html
environment:
- WEB_PATH=/var/www/html/public
- SERVER_NAME=www.archethic.net
- PORT=80
ports:
- "8000:80"
volumes:
- .:/var/www/html
networks:
- archethic_network
archethic_queue:
image: ancelade/php-nginx-d:8.3
container_name: archethic_queue
working_dir: /var/www/html
entrypoint: sh -c "bash -c 'sleep 5 && php artisan queue:work database'"
volumes:
- .:/var/www/html
restart: unless-stopped
networks:
- archethic_network
healthcheck:
test: [ "CMD", "php", "-v" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
archethic_scheduler:
image: ancelade/php-nginx-d:8.3
container_name: archethic_scheduler
working_dir: /var/www/html
entrypoint: sh -c "bash -c 'sleep 5 &&
php artisan schedule:work'"
volumes:
- .:/var/www/html
restart: unless-stopped
networks:
- archethic_network
healthcheck:
test: [ "CMD", "php", "-v" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
archethic_network:
name: archethic_network
driver: bridge
###############