init openobserve docker
This commit is contained in:
37
openobserve/docker-compose.yml
Normal file
37
openobserve/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
name: openobserve
|
||||
services:
|
||||
db:
|
||||
image: postgres:15
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_USER: openobserve
|
||||
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_pass
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
secrets:
|
||||
- postgres_pass
|
||||
|
||||
app:
|
||||
image: public.ecr.aws/zinclabs/openobserve:latest
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
ports:
|
||||
- "5080:5080"
|
||||
- "5514:5514"
|
||||
env_file: ./secrets/openobserve.env
|
||||
environment:
|
||||
ZO_DATA_DIR: /data
|
||||
ZO_DATA_STREAM_DIR: /stream
|
||||
ZO_WEB_URL: https://openobserve.tremendousturtle.tools
|
||||
ZO_TELEMETRY: false
|
||||
ZO_PROMETHEUS_ENABLED: true
|
||||
ZO_META_STORE: postgres
|
||||
volumes:
|
||||
- ./data/openobserve:/data
|
||||
- ./data/stream:/stream
|
||||
|
||||
secrets:
|
||||
postgres_pass:
|
||||
file: ./secrets/POSTGRES_PASS
|
||||
|
||||
Reference in New Issue
Block a user