forked from gh0std4ncer/intrigue-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (33 loc) · 744 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
33 lines (33 loc) · 744 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
version: "3.7"
services:
postgres:
image: postgres:latest
restart: always
expose:
- "5432"
environment:
- POSTGRES_PASSWORD='intrigue' # maybe we don't need this now or autogen?
volumes: # this script will create our database
- ./util/sql/01-pginit.sql:/docker-entrypoint-initdb.d/01-pginit.sql
redis:
image: redis:latest
restart: always
expose:
- "6739"
worker:
build:
context: .
dockerfile: Dockerfile
restart: always
ports:
- "27777:7777"
links:
- redis
- postgres
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- DB_HOST=postgres
- DB_USER=intrigue
- DB_PASS=intrigue
- DB_NAME=intriguedb