Initial commit of SOP Monitoring Dashboard
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
db:
|
||||
image: postgres:15
|
||||
environment:
|
||||
POSTGRES_USER: admin
|
||||
POSTGRES_PASSWORD: password
|
||||
POSTGRES_DB: sop_monitoring
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- ./db:/docker-entrypoint-initdb.d
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
|
||||
api:
|
||||
build: ./api
|
||||
environment:
|
||||
- DB_HOST=db
|
||||
- DB_USER=admin
|
||||
- DB_PASS=password
|
||||
- DB_NAME=sop_monitoring
|
||||
- DB_PORT=5432
|
||||
- PORT=3000
|
||||
depends_on:
|
||||
- db
|
||||
restart: always
|
||||
|
||||
ui:
|
||||
build: ./ui
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
depends_on:
|
||||
- api
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
Reference in New Issue
Block a user