first commit
This commit is contained in:
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
timescaledb:
|
||||
image: timescale/timescaledb:latest-pg16
|
||||
environment:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_DB: micrometeo
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- tsdata:/var/lib/postgresql/data
|
||||
# runs on first DB initialization only
|
||||
- ./db/init:/docker-entrypoint-initdb.d:ro
|
||||
|
||||
ingestd:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
depends_on:
|
||||
- timescaledb
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config.yaml:/app/config.yaml:ro
|
||||
|
||||
volumes:
|
||||
tsdata:
|
||||
Reference in New Issue
Block a user