Skip to content

Instantly share code, notes, and snippets.

@ollyg
Created February 19, 2018 20:59
Show Gist options
  • Save ollyg/7e5948080ba43170bdc769abff31f3ed to your computer and use it in GitHub Desktop.
Save ollyg/7e5948080ba43170bdc769abff31f3ed to your computer and use it in GitHub Desktop.
testing docker
version: '2.3'
services:
netdisco-postgresql:
image: netdisco/netdisco:latest-postgresql
volumes:
- "./netdisco/pgdata:/var/lib/postgresql/data"
# build:
# context: netdisco-postgresql
# netdisco-base:
# image: netdisco/netdisco:latest-base
# build:
# context: netdisco-base
# scale: 0
netdisco-backend:
user: '901'
image: netdisco/netdisco:latest-backend
volumes:
- "./netdisco/nd-site-local:/home/netdisco/nd-site-local"
- "./netdisco/config:/home/netdisco/environments"
- "./netdisco/logs:/home/netdisco/logs"
environment:
NETDISCO_DOMAIN: discover
NETDISCO_DB_HOST: netdisco-postgresql
depends_on:
- netdisco-postgresql
# build:
# context: netdisco-backend
netdisco-web:
user: '901'
image: netdisco/netdisco:latest-web
volumes:
- "./netdisco/nd-site-local:/home/netdisco/nd-site-local"
- "./netdisco/config:/home/netdisco/environments"
- "./netdisco/logs:/home/netdisco/logs"
environment:
NETDISCO_DOMAIN: discover
NETDISCO_DB_HOST: netdisco-postgresql
ports:
- "5000:5000"
depends_on:
- netdisco-postgresql
# build:
# context: netdisco-web
#networks:
# default:
# enable_ipv6: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment