2020-06-02 00:57:20 +02:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
net:
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
pgdata:
|
|
|
|
|
|
|
|
x-op-service-default: &service_default
|
|
|
|
restart: unless-stopped
|
|
|
|
init: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
timescale:
|
|
|
|
<<: *service_default
|
|
|
|
image: timescale/timescaledb:latest-pg12
|
|
|
|
environment:
|
2020-06-02 23:20:34 +02:00
|
|
|
POSTGRES_USER: "freedcs"
|
2020-06-02 00:57:20 +02:00
|
|
|
POSTGRES_PASSWORD: "password"
|
|
|
|
volumes:
|
|
|
|
- "pgdata:/var/lib/postgresql/data"
|
|
|
|
networks:
|
|
|
|
- net
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:5432:5432"
|
2020-06-02 23:20:34 +02:00
|
|
|
|
|
|
|
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"
|