forked from Uninett/nav
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (30 loc) · 787 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (30 loc) · 787 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
# This sets up a live NAV development environment in Docker containers.
#
# Defaults NAV to a container with Python 2. If you want to work with NAV in a
# Python 3 environment, add a `docker-compose.override.yml` that sets the
# dockerfile to Dockerfile3, like so:
#
# version: '2'
# services:
# nav:
# build:
# dockerfile: Dockerfile3
version: '2'
services:
nav:
build: .
ports:
- "80:80"
volumes:
- .:/source
depends_on:
- postgres
postgres:
image: "postgres:9.4"
graphite:
build: ./tools/docker/graphite
ports:
- "8000:8000"
volumes:
- ./etc/graphite/storage-schemas.conf:/opt/graphite/conf/storage-schemas.conf
- ./etc/graphite/storage-aggregation.conf:/opt/graphite/conf/storage-aggregation.conf