-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-testing.yml
75 lines (67 loc) · 1.79 KB
/
docker-compose-testing.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
74
75
version: "3.7"
services:
gateway:
image: ${REGISTRY}/radioavionica-gateway:${IMAGE_TAG}
frontend:
image: ${REGISTRY}/radioavionica-frontend:${IMAGE_TAG}
backend-nginx:
image: ${REGISTRY}/radioavionica-backend-nginx:${IMAGE_TAG}
backend-php-fpm:
image: ${REGISTRY}/radioavionica-backend-php-fpm:${IMAGE_TAG}
restart: always
environment:
APP_DEBUG: 1
APP_ENV: prod
DB_HOST: backend-postgres
DB_USER: app
DB_PASSWORD: secret
DB_NAME: app
MAILER_HOST: mailer
MAILER_PORT: 1025
MAILER_USER: app
MAILER_PASS: secrect
MAILER_ENCRYPT: tls
MAILER_FROM_EMAIL: [email protected]
FRONTEND_URL: http://gateway:8080
backend-php-cli:
image: ${REGISTRY}/radioavionica-backend-php-cli:${IMAGE_TAG}
environment:
APP_DEBUG: 0
APP_ENV: prod
DB_HOST: backend-postgres
DB_USER: app
DB_PASSWORD: secret
DB_NAME: app
MAILER_HOST: mailer
MAILER_PORT: 1025
MAILER_USER: app
MAILER_PASS: secret
MAILER_ENCRYPT: tls
MAILER_FROM_EMAIL: [email protected]
FRONTEND_URL: http://gateway:8080
testing-backend-php-cli:
image: ${REGISTRY}/radioavionica-testing-backend-php-cli:${IMAGE_TAG}
environment:
APP_DEBUG: 1
APP_ENV: dev
DB_HOST: backend-postgres
DB_USER: app
DB_PASSWORD: secret
DB_NAME: app
MAILER_HOST: mailer
MAILER_PORT: 1025
MAILER_USER: app
MAILER_PASS: secret
MAILER_ENCRYPT: tls
MAILER_FROM_EMAIL: [email protected]
FRONTEND_URL: http://gateway:8080
backend-postgres:
image: postgres:13.1-alpine
environment:
POSTGRES_USER: app
POSTGRES_PASSWORD: secret
POSTGRESS_DB: app
mailer:
image: mailhog/mailhog
volumes:
backend-postgres: