-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.prod.yml
41 lines (41 loc) · 1.04 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
version: "2.2"
services:
web:
image: registry.gitlab.com/just1ce/poster/nginx:prod
build:
dockerfile: ./docker-services/nginx/Dockerfile.prod
cache_from:
- registry.gitlab.com/just1ce/poster/nginx:prod
restart: always
app:
image: registry.gitlab.com/just1ce/poster/php-app:prod
build:
dockerfile: ./docker-services/php-base/Dockerfile.prod
cache_from:
- registry.gitlab.com/just1ce/poster/php-app:prod
restart: always
volumes:
- ./.env:/var/www/.env
php-cron:
image: registry.gitlab.com/just1ce/poster/php-cron:prod
build:
dockerfile: ./docker-services/php-cron/Dockerfile.prod
cache_from:
- registry.gitlab.com/just1ce/poster/php-cron:prod
restart: always
volumes:
- ./.env:/var/www/.env
phpmyadmin:
ports:
- 8996:80
restart: always
mysql:
restart: always
node-exporter:
restart: always
prometheus:
restart: always
grafana:
environment:
- GF_SECURITY_ADMIN_PASSWORD=Kostya2431964
restart: always