-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.armhf
More file actions
132 lines (131 loc) · 2.84 KB
/
docker-compose.armhf
File metadata and controls
132 lines (131 loc) · 2.84 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
version: "3.9"
services:
db:
build:
x-bake:
platforms:
- linux/arm/v7
tags:
- ${DOCKER_ORG}/mysqldb:latest
- ${DOCKER_ORG}/mysqldb:${BAKE_TAG}
context: deployment/images/mysqldb
dockerfile: Dockerfile.armhf
args:
PUID: 1000
PGID: 1000
image: betothreeprod/mysqldb:latest
environment:
MYSQL_RANDOM_ROOT_PASSWORD: yes
TZ: Europe/Paris
volumes:
- localtime:/etc/localtime:ro
- db-data:/config
- db-socket:/var/run/mysqld
ports:
- "3306:3306"
restart: unless-stopped
networks:
- cake
env_file:
- common.env
- armhf.env
labels:
io.balena.features.dbus: "1"
php-fpm:
build:
x-bake:
platforms:
- linux/arm/v7
tags:
- ${DOCKER_ORG}/php-fpm:latest
- ${DOCKER_ORG}/php-fpm:${BAKE_TAG}
context: .
dockerfile: Dockerfile.armhf
args:
PUID: 1000
PGID: 1000
MYPHPCMS_DIR: app/webroot/php-cms
MYPHPCMS_LOG: app/tmp/logs
HTDOCS: /var/www/html
image: betothreeprod/php-fpm:latest
env_file:
- common.env
- armhf.env
environment:
CAKEPHP_DEBUG_LEVEL: "2"
COLLECT_COVERAGE: false
CAKEPHP_SECURITY_SALT: Word
CAKEPHP_SECURITY_CIPHER_SEED: 01234
volumes:
- localtime:/etc/localtime:ro
- www:/var/www/html
- php-fpm:/usr/local/etc
ports:
- "9001:9001"
networks:
- cake
httpd:
build:
x-bake:
platforms:
- linux/arm/v7
tags:
- ${DOCKER_ORG}/httpd:latest
- ${DOCKER_ORG}/httpd:${BAKE_TAG}
context: deployment/images/httpd
dockerfile: Dockerfile.armhf
args:
PUID: 1000
PGID: 1000
HTDOCS: /var/www/html
image: betothreeprod/httpd:latest
env_file:
- common.env
- armhf.env
volumes:
- localtime:/etc/localtime:ro
- www:/var/www/html
- apache2:/usr/local/apache2
ports:
- "80:80"
- "443:443"
networks:
- cake
balena-storage:
build:
x-bake:
platforms:
- linux/arm/v7
tags:
- ${DOCKER_ORG}/balena-storage:latest
- ${DOCKER_ORG}/balena-storage:${BAKE_TAG}
context: balena-storage
dockerfile: Dockerfile.armhf
image: betothreeprod/balena-storage:latest
privileged: true
env_file:
- common.env
- armhf.env
networks:
- cake
# healthcheck:
# test: ["CMD", "/usr/src/scripts/backup-db.sh"]
# interval: 720h
# timeout: 10s
# retries: 3
# start_period: 30m
volumes:
- db-backup:/mnt/external-drives
volumes:
www:
php-fpm:
apache2:
hostapcache:
db-data:
db-socket:
config:
localtime:
db-backup:
networks:
cake:
external: false