Newer
Older
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
version: '3.7'
services:
web:
container_name: nginx
image: nginx:stable
working_dir: /usr/local/hypha
ports:
- 8090:8090
volumes:
- ./nginx:/etc/nginx/conf.d:ro
- ..:/usr/local/hypha/
restart: unless-stopped
depends_on:
- py
py:
container_name: django
build:
context: ..
dockerfile: docker/Dockerfile.dev
ports:
- 9001:9001
volumes:
- ..:/usr/local/hypha/
depends_on:
- db
db:
container_name: postgres
image: postgres:12
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=hypha
- POSTGRES_PASSWORD=hypha
- POSTGRES_DB=hypha
volumes:
postgres_data: