forked from package-health/php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose-prod.yml
58 lines (53 loc) · 1.3 KB
/
compose-prod.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
services:
pph-nginx-prod:
container_name: pph-nginx-prod
image: package-health/nginx:prod-841c5fd
environment:
- PHP_FPM=pph-php-fpm-prod
depends_on:
- pph-php-fpm-prod
ports:
- 127.0.0.1:8080:80/tcp
networks:
- pph-network-prod
pph-php-fpm-prod:
container_name: pph-php-fpm-prod
image: package-health/php-fpm:prod-841c5fd
env_file: ./.env
environment:
- AMQP_HOST=pph-rabbit-prod
- POSTGRES_HOST=pph-postgres-prod
- REDIS_HOST=pph-redis-prod
depends_on:
- pph-postgres-prod
- pph-rabbit-prod
- pph-redis-prod
networks:
- pph-network-prod
pph-postgres-prod:
container_name: pph-postgres-prod
image: postgres:14.2-alpine3.15
env_file: ./.env
ports:
- 127.0.0.1:5432:5432/tcp
volumes:
- ./run/db:/var/lib/postgresql/data
networks:
- pph-network-prod
pph-rabbit-prod:
container_name: pph-rabbit-prod
image: rabbitmq:3.9-management-alpine
ports:
- 127.0.0.1:5672:5672/tcp
- 127.0.0.1:15672:15672/tcp
volumes:
- ./run/mq:/var/lib/rabbitmq
networks:
- pph-network-prod
pph-redis-prod:
container_name: pph-redis-prod
image: redis:6.2-alpine3.15
networks:
- pph-network-prod
networks:
pph-network-prod: