Merge pull request #6 from lblod/chore/docker-compose-config-updates
Docker compose config updates
This commit is contained in:
1
.env.example
Normal file
1
.env.example
Normal file
@@ -0,0 +1 @@
|
||||
COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,6 +11,7 @@ docker-compose.override.yml
|
||||
/data/elasticsearch/**
|
||||
/tmp
|
||||
.DS_STORE
|
||||
.env
|
||||
|
||||
/config/migrations/private-data/*
|
||||
|
||||
|
||||
@@ -1,6 +1,29 @@
|
||||
version: '3.4'
|
||||
|
||||
services:
|
||||
web:
|
||||
identifier:
|
||||
ports:
|
||||
- "80:80"
|
||||
restart: "no"
|
||||
dispatcher:
|
||||
restart: "no"
|
||||
triplestore:
|
||||
restart: "no"
|
||||
db:
|
||||
restart: "no"
|
||||
migrations:
|
||||
restart: "no"
|
||||
resource:
|
||||
restart: "no"
|
||||
cache:
|
||||
restart: "no"
|
||||
uri-info:
|
||||
restart: "no"
|
||||
resource-labels-cache:
|
||||
restart: "no"
|
||||
resource-labels:
|
||||
restart: "no"
|
||||
kalliope-api:
|
||||
restart: "no"
|
||||
deltanotifier:
|
||||
restart: "no"
|
||||
31
docker-compose.prod.yml
Normal file
31
docker-compose.prod.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
version: '3.4'
|
||||
|
||||
x-logging:
|
||||
&default-logging
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
services:
|
||||
web:
|
||||
image: nginx
|
||||
volumes:
|
||||
- ./config/proxy:/etc/nginx/conf.d
|
||||
- ./config/proxy/web.conf:/etc/nginx/nginx.conf:ro
|
||||
links:
|
||||
- identifier:identifier
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
ports:
|
||||
- "80:80"
|
||||
frontend:
|
||||
image: lblod/frontend-contact-hub
|
||||
labels:
|
||||
- "logging=true"
|
||||
environment:
|
||||
EMBER_METIS_BASE_URL: "http://data.lblod.info/id/"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
@@ -17,17 +17,6 @@ services:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
web:
|
||||
image: nginx
|
||||
volumes:
|
||||
- ./config/proxy:/etc/nginx/conf.d
|
||||
- ./config/proxy/web.conf:/etc/nginx/nginx.conf:ro
|
||||
links:
|
||||
- identifier:identifier
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
dispatcher:
|
||||
image: semtech/mu-dispatcher:latest
|
||||
volumes:
|
||||
@@ -124,12 +113,4 @@ services:
|
||||
deltanotifier:
|
||||
image: semtech/mu-delta-notifier:0.1.0
|
||||
volumes:
|
||||
- ./config/delta:/config
|
||||
frontend:
|
||||
image: lblod/frontend-contact-hub
|
||||
labels:
|
||||
- "logging=true"
|
||||
environment:
|
||||
EMBER_METIS_BASE_URL: "http://data.lblod.info/id/"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
- ./config/delta:/config
|
||||
Reference in New Issue
Block a user