-
Notifications
You must be signed in to change notification settings - Fork 0
/
Acornfile
42 lines (38 loc) · 885 Bytes
/
Acornfile
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
name: "Piwigo Sample Acorn"
description: "Acorn running a sample Piwigo app"
readme: "./README.md"
icon: "./piwigo_icon.webp"
services: db: {
image: "ghcr.io/acorn-io/mariadb:v10.#.#-#" // pulls the latest 10.x.x version
serviceArgs: {
dbName: args.dbName
username: args.user
}
}
args: {
// Name of the database to create. Defaults to "instance"
dbName: "piwigo"
// Provide user for mysql. If the value is not provided, it will default to
user: "piwigo"
}
containers: {
app: {
image: "ghcr.io/linuxserver/piwigo:13.8.0"
env: {
"PUID": "1000"
"PGID": "1000"
"TZ": "Etc/UTC"
}
consumes: ["db"]
ports: publish: "80/http"
dirs: {
"/config": "volume://config-data"
"/gallery": "volume://gallery-data"
}
}
}
volumes: {
"config-data": {}
"gallery-data": {}
"piwigo-db": {}
}