This repository was archived by the owner on Mar 7, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathcompose.example.yml
More file actions
70 lines (64 loc) · 1.69 KB
/
Copy pathcompose.example.yml
File metadata and controls
70 lines (64 loc) · 1.69 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
volumes:
shinage_data: {}
services:
nginx:
image: ghcr.io/michz/shinage-server-web:build-docker-prod-image
environment:
VIRTUAL_HOST: shinage.localhost
APPSERVER_HOST: app
ports:
- "127.0.0.1:20080:80"
#- "127.0.0.1:20443:443"
volumes:
- shinage_data:/usr/share/nginx/html/data:readonly
links:
- app
- mariadb
depends_on:
- app
app:
image: ghcr.io/michz/shinage-server-app:build-docker-prod-image
volumes:
- shinage_data:/usr/share/nginx/html/data:delegated
- ./session-redis.optional.ini:/usr/local/etc/php/conf.d/99-session-redis.ini:readonly
#- ./php/php.ini:/usr/local/etc/php/conf.d/zzz-override-php.ini:delegated
links:
- mariadb
#- mailpit
- redis
depends_on:
mariadb:
condition: service_healthy
redis:
condition: service_started
mariadb:
image: mariadb:11.7
environment:
MYSQL_ROOT_PASSWORD: "CHANGE_ME_TO_a_verysecurerootpassword"
MYSQL_ALLOW_EMPTY_PASSWORD: "false"
MYSQL_DATABASE: "shinagetest"
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 3
redis:
image: redis:7-alpine
#mailpit:
# image: axllent/mailpit:latest
# ports:
# - "127.0.0.1:${MAILPIT_PORT}:8025"
#phpmyadmin:
# image: phpmyadmin:latest
# environment:
# MYSQL_ROOT_PASSWORD: ${MARIADB_ROOT_PASSWORD}
# PMA_HOST: mariadb
# PMA_USER: root
# PMA_PASSWORD: ${MARIADB_ROOT_PASSWORD}
# ports:
# - "127.0.0.1:${PHPMYADMIN_PORT}:80"
# links:
# - mariadb
# depends_on:
# - mariadb