mirror of
https://github.com/daniviga/bite.git
synced 2024-11-23 05:16:13 +01:00
Daniele Viganò
b6653c510d
* Add dockerized python simulators * Create an EDGE gateway via dind * Fix README.md title
58 lines
1.0 KiB
YAML
58 lines
1.0 KiB
YAML
version: "3.7"
|
|
|
|
networks:
|
|
net:
|
|
|
|
volumes:
|
|
pgdata:
|
|
|
|
x-op-service-default: &service_default
|
|
restart: unless-stopped
|
|
init: true
|
|
|
|
services:
|
|
ntpd:
|
|
<<: *service_default
|
|
image: daniviga/ntpd
|
|
networks:
|
|
- net
|
|
ports:
|
|
- "127.0.0.1:123:123/udp"
|
|
|
|
timescale:
|
|
<<: *service_default
|
|
image: timescale/timescaledb:latest-pg12
|
|
environment:
|
|
POSTGRES_USER: "freedcs"
|
|
POSTGRES_PASSWORD: "password"
|
|
volumes:
|
|
- "pgdata:/var/lib/postgresql/data"
|
|
networks:
|
|
- net
|
|
ports:
|
|
- "127.0.0.1:5432:5432"
|
|
|
|
rabbitmq:
|
|
<<: *service_default
|
|
image: rabbitmq:3-management
|
|
environment:
|
|
RABBITMQ_DEFAULT_VHOST: "freedcs"
|
|
RABBITMQ_DEFAULT_USER: "freedcs"
|
|
RABBITMQ_DEFAULT_PASS: "password"
|
|
networks:
|
|
- net
|
|
ports:
|
|
- "15672:15672"
|
|
- "5672:5672"
|
|
|
|
edge:
|
|
<<: *service_default
|
|
image: docker:dind
|
|
privileged: true
|
|
environment:
|
|
DOCKER_TLS_CERTDIR:
|
|
networks:
|
|
- net
|
|
ports:
|
|
- "127.0.0.1:22375:2375"
|