6ebd435e81
* WIP execution concurrency controls implemented via Redis - Split up resuming a run and executing a run - Added some new statuses to better show what is going on in a run - Removed preprocessing runs * WIP * Convert to using ZSETs and adding env vars * Removed unused import * Improve run number generation using advistory locks, and only on start * More execution concurrency stuff * Add support for job concurrency limits and concurrency limit groups * Create wild-swans-battle.md * Increase slots refresh timeout to 10s * Try to fix Redis connection issues * Don’t be so strict about the APP_ENV * Add the blank tls option to the normal redis client as well * Add docs
64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
version: "3"
|
|
|
|
volumes:
|
|
database-data:
|
|
redis-data:
|
|
|
|
networks:
|
|
app_network:
|
|
external: false
|
|
|
|
services:
|
|
db:
|
|
container_name: devdb
|
|
image: postgres:14
|
|
restart: always
|
|
volumes:
|
|
- database-data:/var/lib/postgresql/data/
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: postgres
|
|
networks:
|
|
- app_network
|
|
ports:
|
|
- 5432:5432
|
|
app:
|
|
build:
|
|
context: ../
|
|
dockerfile: ./docker/Dockerfile
|
|
ports:
|
|
- 3030:3030
|
|
depends_on:
|
|
- db
|
|
env_file:
|
|
- ../.env
|
|
environment:
|
|
DATABASE_URL: postgres://postgres:postgres@db:5432/postgres?schema=public
|
|
DIRECT_URL: postgres://postgres:postgres@db:5432/postgres?schema=public
|
|
SESSION_SECRET: secret123
|
|
MAGIC_LINK_SECRET: secret123
|
|
ENCRYPTION_KEY: secret123
|
|
REMIX_APP_PORT: 3030
|
|
PORT: 3030
|
|
networks:
|
|
- app_network
|
|
|
|
redis:
|
|
container_name: redis
|
|
image: redis:7
|
|
restart: always
|
|
volumes:
|
|
- redis-data:/data
|
|
networks:
|
|
- app_network
|
|
ports:
|
|
- 6379:6379
|
|
|
|
redisinsight:
|
|
image: redislabs/redisinsight:latest
|
|
ports:
|
|
- "8001:8001"
|
|
volumes:
|
|
- redis-data:/redisinsight
|