-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.aarch64
78 lines (78 loc) · 1.66 KB
/
docker-compose.aarch64
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
version: "2"
services:
db:
build:
context: deployment/images/mysqldb
dockerfile: Dockerfile.aarch64
args:
PUID: 0
PGID: 0
TZ: Europe/Paris
MYSQL_ROOT_PASSWORD: mariadb
MYSQL_HOST: localhost
MYSQL_DATABASE: aria_db
MYSQL_USER: maria
MYSQL_PASSWORD: maria-abc
image: betothreeprod/mariadb:latest-aarch64
volumes:
- localtime:/etc/localtime:ro
- db-data:/config
- db-socket:/var/run/mysqld
- db-config:/var/www/htdocs/localhost/app/Config/Schema
ports:
- "3306:3306"
restart: unless-stopped
networks:
- cake
env_file:
- common.env
- .env
labels:
io.balena.features.dbus: "1"
acake2php:
env_file:
- common.env
- .env
build:
context: .
dockerfile: Dockerfile.aarch64
args:
CAKEPHP_DEBUG_LEVEL: "2"
MYSQL_HOST: "db"
PUID: 1000
PGID: 1000
image: betothreeprod/acake2php-raspberrypi3-64
labels:
io.balena.features.dbus: "1"
volumes:
- localtime:/etc/localtime:ro
- db-config:/var/www/htdocs/localhost/app/Config/Schema
- db-socket:/var/run/mysqld
ports:
- "80:80"
- "443:443"
depends_on:
- db
networks:
- cake
#docker-compose v3
#healthcheck:
#test: ["CMD", "curl", "-f", "http://localhost"]
#interval: 1m30s
#timeout: 10s
#retries: 3
# v3.4 compose file
#start_period: 40s
volumes:
hostapcache:
db-config:
external: false
db-data:
external: false
db-socket:
external: false
config:
localtime:
networks:
cake:
external: false