-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
38 lines (35 loc) · 965 Bytes
/
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
version: '3.3'
services:
thumbor:
container_name: EPG_thumbor
image: apsl/thumbor:6.6.0
volumes:
- "${PHOTO_DIR}:/mydata"
- ./config/thumbor/imaging.py:/usr/local/lib/python2.7/site-packages/thumbor/handlers/imaging.py
environment:
- FILE_LOADER_ROOT_PATH=/mydata/
- LOADER=thumbor.loaders.file_loader
- RESULT_STORAGE_STORES_UNSAFE=True
- STORAGE=thumbor.storages.no_storage
- SECURITY_KEY=EPG_SECRET_WHATSOEVER
#- ALLOW_UNSAFE_URL=True
restart: always
php:
container_name: EPG_php
depends_on:
- thumbor
- mongodb
build: ./config/php
volumes:
- "${PHOTO_DIR}:/mydata"
restart: always
links:
- thumbor
ports:
- "${APP_PORT}:80"
mongodb:
container_name: EPG_mongodb
image: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: easyphpgallery
MONGO_INITDB_ROOT_PASSWORD: easyphpgallery