-
Notifications
You must be signed in to change notification settings - Fork 75
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (35 loc) · 844 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (35 loc) · 844 Bytes
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
# THIS IS THE DEVELOPMENT DOCKER COMPOSE I’M USING
# DO NOT USE IT TO DEPLOY THE BOT
version: "3.8"
services:
inhouse_bot:
image: mrtolkien/inhouse_bot:beta
build:
context: .
env_file: # Using in env file in dev to hide my bot key and such
- .env
volumes:
- type: bind
source: ./
target: /inhouse_bot
- type: volume
source: dbsocket
target: /var/run/postgresql
depends_on:
- db
db:
image: postgres:alpine
environment:
POSTGRES_DB: inhouse_bot
POSTGRES_PASSWORD: pwd
volumes:
# Socket volume to communicate faster
- type: volume
source: dbsocket
target: /var/run/postgresql
adminer:
image: adminer
ports:
- 8080:8080
volumes:
dbsocket: