Stripped out ui/api
This commit is contained in:
82
docker-compose.yml
Normal file
82
docker-compose.yml
Normal file
@@ -0,0 +1,82 @@
|
||||
x-env_file: &env
|
||||
- path: .env
|
||||
required: true
|
||||
- path: .env.local
|
||||
required: false
|
||||
|
||||
name: siren
|
||||
services:
|
||||
# bot:
|
||||
# image: siren-service:${SIREN_VERSION:-latest}
|
||||
# container_name: siren-service
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: ./Dockerfile
|
||||
# args:
|
||||
# - VERSION=${SIREN_VERSION:-latest}
|
||||
# env_file: *env
|
||||
# environment:
|
||||
# DATABASE_HOST: db
|
||||
# DATABASE_PORT: 5432
|
||||
# REDIS_HOST: redis
|
||||
# REDIS_PORT: 6379
|
||||
# MINIO_HOST: minio
|
||||
# MINIO_PORT: 9000
|
||||
# SERVICE_HOST: service
|
||||
# SERVICE_PORT: 5000
|
||||
# DATA_DIR_PATH: /data
|
||||
# volumes:
|
||||
# - ${DATA_DIR_PATH:-/data}:/data
|
||||
# ports:
|
||||
# - ${SERVICE_PORT:-5000}:5000
|
||||
# depends_on:
|
||||
# - db
|
||||
# - redis
|
||||
# - minio
|
||||
# networks:
|
||||
# - frontend
|
||||
# - backend
|
||||
# restart: unless-stopped
|
||||
# profiles:
|
||||
# - bot
|
||||
|
||||
db:
|
||||
image: postgres:latest
|
||||
container_name: siren-db
|
||||
env_file: *env
|
||||
environment:
|
||||
POSTGRES_USER: ${DATABASE_USER}
|
||||
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
|
||||
POSTGRES_DB: ${DATABASE_NAME}
|
||||
volumes:
|
||||
- db:/var/lib/postgresql/data
|
||||
- db_logs:/var/log
|
||||
ports:
|
||||
- ${DATABASE_PORT:-5432}:5432
|
||||
networks:
|
||||
- backend
|
||||
profiles:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
image: redis:latest
|
||||
container_name: siren-redis
|
||||
volumes:
|
||||
- redis:/data
|
||||
ports:
|
||||
- ${REDIS_PORT:-6379}:6379
|
||||
networks:
|
||||
- backend
|
||||
profiles:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
db:
|
||||
db_logs:
|
||||
redis:
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
backend:
|
||||
Reference in New Issue
Block a user