forked from photonixapp/photonix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
54 lines (51 loc) · 1.28 KB
/
docker-compose.dev.yml
File metadata and controls
54 lines (51 loc) · 1.28 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
version: '2'
services:
postgres:
container_name: photonix-postgres
image: postgres:11.1-alpine
ports:
- '5432:5432'
environment:
POSTGRES_DB: photonix
POSTGRES_PASSWORD: password
volumes:
- ./data/db:/var/lib/postgresql/data
redis:
container_name: photonix-redis
image: redis:3.2.8
ports:
- '6379:6379'
photonix:
container_name: photonix
# image: damianmoore/photonix:latest
build:
context: .
ports:
- '8888:80'
- '8889:8000'
environment:
ENV: dev
POSTGRES_HOST: postgres
POSTGRES_DB: photonix
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
REDIS_HOST: redis
ALLOWED_HOSTS: '*'
volumes:
- ./photonix:/srv/photonix
- ./tests:/srv/tests
- ./test.py:/srv/test.py
- ./ui/public:/srv/ui/public
- ./ui/src:/srv/ui/src
- ./ui/static:/srv/ui/static
- ./ui/yarn.lock:/srv/ui/yarn.lock
- ./ui/config:/srv/ui/config
- ./ui/scripts:/srv/ui/scripts
- ./data/photos:/data/photos
- ./data/raw-photos-processed:/data/raw-photos-processed
- ./data/cache:/data/cache
- ./data/models:/data/models
- ./system/supervisord.conf:/etc/supervisord.conf
links:
- postgres
- redis