-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose--dev.yml
73 lines (67 loc) · 1.54 KB
/
docker-compose--dev.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: "3.6"
services:
web:
image: ambientum/php:8.0-nginx
restart: unless-stopped
volumes:
- ./webapp/:/var/www/app
# ports:
# - 8000:8000
environment:
- FRAMEWORK=laravel
- XDEBUG_ENABLED=false
- OPCACHE_MODE=normal
- PHP_MEMORY_LIMIT=256M
- LANG=pt_BR.UTF-8
- TZ=America/Fortaleza
links:
- db
networks:
- default
- proxymng
db:
image: postgres:latest
restart: unless-stopped
volumes:
- ./pgdata:/var/lib/postgresql/data
environment:
- POSTGRES_USER=thecomm
- POSTGRES_PASSWORD=thecomm
- POSTGRES_DB=thecomm
- PGDATA=./pgdata
- TZ=America/Fortaleza
queue:
image: ambientum/php:8.0-nginx
restart: unless-stopped
command: php artisan queue:work --tries=5 --sleep=5
environment:
- PHP_MEMORY_LIMIT=256M
- LANG=pt_BR.UTF-8
- TZ=America/Fortaleza
volumes:
- ./webapp/:/var/www/app
depends_on:
- web
links:
- db
mailhog: # MailHog - Fake SMTP server (optional).
image: mailhog/mailhog:latest
ports:
- '1026:1025' # Port 1025 => SMTP.
- '8026:8025' # Port 8025 => Web dashboard (http://127.0.0.1:8025).
pgadmin:
image: dpage/pgadmin4
environment:
- PGADMIN_DEFAULT_PASSWORD=teste123
- PGADMIN_LISTEN_PORT=5050
depends_on:
- db
networks:
- default
- proxymng
networks:
default:
driver: bridge
proxymng:
external: true