Skip to content
Snippets Groups Projects
Commit 07a934a9 authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

added production docker-compose files

parent 095a69c2
No related branches found
No related tags found
No related merge requests found
Pipeline #
version: "2"
services:
nginx:
ports:
- "80:80"
- "8080:8080"
version: "2"
networks:
webproxy:
default:
external: true
services:
nginx:
environment:
VIRTUAL_HOST: web.villas.fein-aachen.org
LETSENCRYPT_HOST: web.villas.fein-aachen.org
LETSENCRYPT_EMAIL: post@steffenvogel.de
networks:
- default
- webproxy
version: "2"
networks:
default:
webproxy:
external: true
volumes:
database:
driver: local
......@@ -34,16 +29,6 @@ services:
build:
context: .
dockerfile: Dockerfile.nginx
# ports:
# - "80:80"
# - "8080:8080"
environment:
VIRTUAL_HOST: web.villas.fein-aachen.org
LETSENCRYPT_HOST: web.villas.fein-aachen.org
LETSENCRYPT_EMAIL: post@steffenvogel.de
networks:
- webproxy
- default
# The MongoDB database for the VILLASweb backend
database:
......@@ -61,7 +46,7 @@ services:
dockerfile: Dockerfile.node
privileged: true
restart: always
command: node /etc/villas/node/websocket-demo-files.conf
command: node /etc/villas/node/websocket-demo.conf
volumes:
- ./etc/node:/etc/villas/node
ports:
......@@ -75,6 +60,8 @@ services:
ME_CONFIG_MONGODB_SERVER: database
ME_CONFIG_BASICAUTH_USERNAME: admin
ME_CONFIG_BASICAUTH_PASSWORD: mongo-admin
depends_on:
- database
ports:
- "8081:8081"
......@@ -85,10 +72,8 @@ services:
RABBITMQ_DEFAULT_USER: "villas"
RABBITMQ_DEFAULT_PASS: "s3c0sim4!"
ports:
- "8080:15672"
- "8082:15672"
- "5672:5672"
networks:
- default
# A VILLAScontroller for creating some dummy simulators
controller:
......@@ -98,5 +83,3 @@ services:
command: villas-ctl -b "amqp://villas:s3c0sim4!@broker/%2F" -c /etc/villas/controller/config.json daemon
depends_on:
- broker
networks:
- default
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment