File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ services :
2+
3+ sned-db :
4+ image : postgres:${POSTGRES_VERSION:-14}
5+ restart : always
6+ expose :
7+ - ${POSTGRES_PORT:-5432}
8+ environment :
9+ POSTGRES_USER : ${POSTGRES_USER:-postgres}
10+ POSTGRES_DB : ${POSTGRES_DB:-sned}
11+ POSTGRES_PORT : ${POSTGRES_PORT:-5432}
12+ POSTGRES_PASSWORD : ${POSTGRES_PASSWORD:?err}
13+ volumes :
14+ - postgres_data:/var/lib/postgresql/data
15+ networks :
16+ - private
17+
18+ sned :
19+ build :
20+ context : .
21+ dockerfile : Dockerfile
22+ args :
23+ postgres_version : ${POSTGRES_VERSION:-14}
24+ environment :
25+ TOKEN : ${TOKEN:?err}
26+ DEV_MODE : ${DEV_MODE:-false}
27+ ERROR_LOGGING_CHANNEL : ${ERROR_LOGGING_CHANNEL:-}
28+ DB_BACKUP_CHANNEL : ${DB_BACKUP_CHANNEL:-}
29+ DEBUG_GUILDS : ${DEBUG_GUILDS:-}
30+ POSTGRES_USER : ${POSTGRES_USER:-postgres}
31+ POSTGRES_HOST : sned-db
32+ POSTGRES_DB : ${POSTGRES_DB:-sned}
33+ POSTGRES_PORT : ${POSTGRES_PORT:-5432}
34+ POSTGRES_PASSWORD : ${POSTGRES_PASSWORD:?err}
35+ PERSPECTIVE_API_KEY : ${PERSPECTIVE_API_KEY:?err}
36+ DICTIONARYAPI_API_KEY : ${DICTIONARYAPI_API_KEY:?err}
37+ depends_on :
38+ - sned-db
39+ restart : always
40+ networks :
41+ - private
42+
43+ networks :
44+ private :
45+ external : false
46+
47+ volumes :
48+ postgres_data :
Original file line number Diff line number Diff line change 11services :
22
33 sned-db :
4- image : postgres:${POSTGRES_VERSION:-14}
4+ image : postgres:14
55 restart : always
66 expose :
77 - ${POSTGRES_PORT:-5432}
@@ -16,11 +16,7 @@ services:
1616 - private
1717
1818 sned :
19- build :
20- context : .
21- dockerfile : Dockerfile
22- args :
23- postgres_version : ${POSTGRES_VERSION:-14}
19+ image : ghcr.io/hypergonial/snedbot:latest
2420 environment :
2521 TOKEN : ${TOKEN:?err}
2622 DEV_MODE : ${DEV_MODE:-false}
You can’t perform that action at this time.
0 commit comments