-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
88 lines (81 loc) · 2.24 KB
/
docker-compose.yml
File metadata and controls
88 lines (81 loc) · 2.24 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
version: '3.2'
services:
mariadb:
image: mariadb
environment:
MARIADB_ROOT_PASSWORD: changeme
entrypoint:
sh -c "echo 'CREATE DATABASE IF NOT EXISTS pacstall; CREATE DATABASE IF NOT EXISTS matomo;' > /docker-entrypoint-initdb.d/init.sql; /usr/local/bin/docker-entrypoint.sh --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci"
volumes:
- db:/var/lib/mysql
ports:
- target: 3306
published: 3306
# Used live at `https://colors.pacstall.dev`
color:
image: ghcr.io/pacstall/pac-color:master
ports:
- target: 8000
published: 8000
# Used live at `https://swagger.pacstall.dev`
swagger:
image: docker.swagger.io/swaggerapi/swagger-ui
depends_on:
- webserver
environment:
SWAGGER_JSON: /oas/api-spec.yaml
ports:
- target: 8080
published: 6942
volumes:
- swagger_bridge:/oas
# Used live at `https://pacstall.dev`
webserver:
image: ghcr.io/pacstall/webserver:latest
depends_on:
- mariadb
- matomo
ports:
- target: 3300
published: 3300
volumes:
- swagger_bridge:/root/dist/public
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "10m"
environment:
PACSTALL_DISCORD_TOKEN: ""
PACSTALL_DISCORD_CHANNEL_ID: ""
PACSTALL_DISCORD_ENABLED: "false"
PACSTALL_DISCORD_TAGS: "" # See https://discord.com/developers/docs/reference#message-formatting
PACSTALL_DATABASE_HOST: mariadb
PACSTALL_DATABASE_USER: root
PACSTALL_DATABASE_PASSWORD: changeme
PACSTALL_DATABASE_NAME: pacstall
PACSTALL_DATABASE_PORT: 3306
PACSTALL_MATOMO_ENABLED: "true"
MATOMO_DOMAIN: "http://matomo"
MATOMO_SITE_ID: "1"
PACSTALL_PROGRAMS_GIT_BRANCH: "master"
# Used live at `https://pacstall.dev/matomo`
matomo:
image: matomo
volumes:
- matomo:/var/www/html
environment:
MATOMO_DATABASE_HOST: mariadb
MATOMO_DATABASE_USERNAME: root
MATOMO_DATABASE_PASSWORD: changeme
MATOMO_DATABASE_DBNAME: matomo
ports:
- target: 80
published: 8080
depends_on:
- mariadb
volumes:
db:
matomo:
swagger_bridge:
driver: local