mirror of
https://github.com/GrassrootsEconomics/cic-dw.git
synced 2024-12-22 19:07:33 +01:00
Mohammed Sohail
05ab865c63
core: - add koanf for runtime config loading - cicnet connection must dial else panic - add db connection init - add goyesql for convenient querying - add async tasker processor (scheduler, processor) dev: - add redis server to dev docker-compose - update volume to prune-able local
24 lines
506 B
YAML
24 lines
506 B
YAML
services:
|
|
postgres:
|
|
image: postgres:14-alpine
|
|
restart: unless-stopped
|
|
network_mode: "host"
|
|
environment:
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_DB=cic_dw
|
|
volumes:
|
|
- cic-dw-db:/var/lib/postgresql/data
|
|
ports:
|
|
- '5432:5432'
|
|
redis:
|
|
image: redis:6-alpine
|
|
restart: unless-stopped
|
|
network_mode: "host"
|
|
command: redis-server --loglevel warning
|
|
ports:
|
|
- '6379:6379'
|
|
|
|
volumes:
|
|
cic-dw-db:
|
|
driver: local |