initial: first commit ever

This commit is contained in:
2024-10-07 23:20:11 +00:00
commit ec3b82cd00
65 changed files with 2797 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
-- create database for local development
create database slax_dev;
-- create database for local test
create database slax_test;
-- create database for local production
create database slax;

View File

@@ -0,0 +1,15 @@
---
services:
database:
image: 'postgis/postgis:16-3.4-alpine'
init: true
restart: unless-stopped
hostname: database
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- 'database_data:/var/lib/postgresql/data'
- '../../scripts/postgres:/docker-entrypoint-initdb.d'
volumes:
database_data: {}

View File

@@ -0,0 +1,22 @@
---
services:
otel:
image: 'grafana/otel-lgtm:0.7.1'
init: true
restart: unless-stopped
hostname: otel
ports:
- '${OTEL_PORT:-43000}:3000'
profiles:
- full
- monitoring
- otel
volumes:
- 'otel_data:/otel-lgtm/data'
- 'otel_loki:/loki'
- 'otel_tempo:/tmp/tempo'
volumes:
otel_data: {}
otel_loki: {}
otel_tempo: {}