-
Notifications
You must be signed in to change notification settings - Fork 0
/
wei.compose.yaml
54 lines (52 loc) · 1.27 KB
/
wei.compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
include: [compose.yaml]
#####################
# WEI Core Services #
#####################
services:
wei_server:
image: ghcr.io/ad-sdl/wei
container_name: wei_server
ports:
- 8000:8000
env_file: .env
environment:
- PYTHONUNBUFFERED=1 # Fix weird bug with empty logging
- USER_ID=${USER_ID:-1000}
- GROUP_ID=${GROUP_ID:-1000}
volumes:
- ./tests/workcell_defs:/workcell_defs
- ${WEI_DATA_DIR}:/home/app/.wei
- diaspora_config:/home/app/.diaspora
command: python3 -m wei.server --workcell /workcell_defs/${WORKCELL_FILENAME} --autostart_engine True
depends_on:
- wei_redis
wei_redis:
image: redis
container_name: wei_redis
ports:
- 6379:6379
volumes:
- ${REDIS_DIR}:/data
command: redis-server --save 60 1 --loglevel warning
####################
# PostgreSQL Setup #
####################
# wei_postgres:
# image: postgres:13
# container_name: wei_postgres
# environment:
# POSTGRES_USER: rpl
# POSTGRES_PASSWORD: rpl
# POSTGRES_DB: resources
# ports:
# - 5432:5432
# volumes:
# - pgdata:/var/lib/postgresql/data
################
# Data Storage #
################
volumes:
diaspora_config:
driver: local
pgdata:
driver: local