forked from CAVEconnectome/EMAnnotationSchemas
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (39 loc) · 818 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (39 loc) · 818 Bytes
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
version: '3'
services:
db:
image: mdillon/postgis
restart: always
env_file:
- ./.env.dev
ports:
- 5432:5432
volumes:
- postgres_data:/var/lib/postgresql/data
# - ./entrypoint.sh:/var/lib/postgresql/entrypoint.sh
healthcheck:
test: "pg_isready -h localhost -p 5432 -q -U postgres"
interval: 3s
timeout: 5s
retries: 5
adminer:
image: adminer
ports:
- 8080:8080
links:
- db
app:
image: 'app:tag'
build:
context: .
dockerfile: Dockerfile
ports:
- 80:80
volumes:
- ./emannotationschemas:/emannotationschemas
env_file:
- ./.env.dev
depends_on:
- db
volumes:
postgres_data:
driver: local