forked from alexjustesen/speedtest-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
33 lines (30 loc) · 800 Bytes
/
docker-compose.prod.yml
File metadata and controls
33 lines (30 loc) · 800 Bytes
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
version: '3'
services:
php:
image: speedtest-tracker:latest
environment:
PHP_POOL_NAME: "speedtest-tracker_php"
ports:
- '8080:80'
restart: unless-stopped
volumes:
- 'speedtest-tracker-app:/data'
# task:
# image: speedtest-tracker:latest
# command: [ "su", "webuser", "-c", "php artisan schedule:work" ]
# environment:
# PHP_POOL_NAME: "speedtest-tracker_task"
# restart: unless-stopped
# depends_on:
# - php
# queue:
# image: speedtest-tracker:latest
# command: ["su", "webuser", "-c", "php artisan queue:work --tries=3"]
# environment:
# PHP_POOL_NAME: "speedtest-tracker_queue"
# restart: unless-stopped
# depends_on:
# - php
# volumes:
speedtest-tracker-app:
driver: local