-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
62 lines (58 loc) · 1.33 KB
/
docker-compose.yml
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
version: '3'
services:
db:
restart: unless-stopped
image: mariadb:10.3
environment:
MYSQL_ROOT_PASSWORD: root_pw_changeme
MYSQL_DATABASE: screeenly
MYSQL_USER: screeenly
MYSQL_PASSWORD: db_pw_changeme
# volumes:
# - /storage/docker/volumes/screeenly/db:/var/lib/mysql
api:
restart: unless-stopped
image: ionphractal/screeenly:0.1.0
depends_on:
- redis
- db
links:
- redis:redis.local
- db:db.local
environment:
SCREEENLY_DISABLE_SANDBOX: "true"
APP_ENV: production
APP_URL: https://screeenly.domain.tld
APP_KEY: app_key_changeme
APP_DEBUG: "false"
DB_CONNECTION: mysql
DB_HOST: db.local
DB_PORT: 3306
DB_DATABASE: screeenly
DB_USERNAME: screeenly
DB_PASSWORD: db_pw_changeme
REDIS_HOST: redis.local
REDIS_PASSWORD: ""
REDIS_PORT: 6379
volumes:
- webroot:/var/www/html
ports:
- "172.17.0.1::9000"
nginx:
restart: unless-stopped
image: ionphractal/nginx-fpm-proxy:0.1.0
links:
- api:api.local
environment:
FPM_BACKEND: api.local
FPM_PORT: 9000
WEBROOT: /var/www/public
ports:
- "172.17.0.1::8080"
volumes:
- webroot:/var/www:ro
redis:
restart: unless-stopped
image: redis
volumes:
webroot: