blob: 5f0892241d8c7289f10375854e9bbd6df9aed920 (
plain)
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
|
#
# simplified compose FOR LOCAL DEVELOPMENT.
#
version: '3'
services:
app:
image: cthulhoo/the-epube-fpm-static:latest
environment:
SKIP_RSYNC_ON_STARTUP: true
build:
dockerfile: .docker/app/Dockerfile
context: .
restart: unless-stopped
env_file:
- .env
volumes:
- .:/var/www/html/books
- ${BOOKS_DIR}:/books:ro
web-nginx:
image: cthulhoo/the-epube-web-nginx:latest
build:
dockerfile: .docker/web-nginx/Dockerfile
context: .
restart: unless-stopped
env_file:
- .env
ports:
- ${HTTP_PORT}:80
volumes:
- .:/var/www/html/books:ro
depends_on:
- app
|