2017-08-30 04:10:55 -05:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
app:
|
2017-12-13 08:50:30 -06:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
- BRANCH=${BRANCH-master}
|
|
|
|
image: ninech/netbox:${BRANCH-latest}
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
env_file: netbox.env
|
|
|
|
command:
|
|
|
|
- ./manage.py
|
|
|
|
- test
|
2017-08-30 04:10:55 -05:00
|
|
|
postgres:
|
2017-12-13 08:50:30 -06:00
|
|
|
image: postgres:9.6-alpine
|
|
|
|
env_file: postgres.env
|
2017-08-30 04:10:55 -05:00
|
|
|
volumes:
|
2017-12-13 08:50:30 -06:00
|
|
|
netbox-static-files:
|
|
|
|
driver: local
|
|
|
|
netbox-nginx-config:
|
|
|
|
driver: local
|