-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·46 lines (42 loc) · 1.13 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
version: '2.1'
services:
bref-web:
image: bref/fpm-dev-gateway
ports:
- "9980:80"
volumes:
- .:/var/task
# - ./setup/nginx/bref.conf:/etc/nginx/conf.d/default.conf
depends_on:
- php
environment:
HANDLER: public/index.php
DOCUMENT_ROOT: public
magmaglass:
container_name: magma_glass_built
build:
context: .
volumes:
# - ./:/app
- /tmp/var-cache:/app/cache
- ./storage/notes:/app/storage/notes
ports:
- "9981:8080"
php:
container_name: magma_glass_php
image: magma-glass-php
build:
context: .
dockerfile: setup/php/Dockerfile
volumes:
- ./:/var/task
- /tmp/var-cache:/var/task/cache
- /mnt/c/Users/black/AppData/Roaming/obsidian/Obsidian Help:/var/task/storage/notes
user: "1000:1000"
redis:
image: redis
container_name: magma_glass_redis
ports:
- "6378:6379"
depends_on:
- php