-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (52 loc) · 1.15 KB
/
docker-compose.yml
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
55
version: '3.1'
services:
ipfs:
image: ipfs/go-ipfs:latest
restart: unless-stopped
ports:
- 4001:4001
- 5001:5001
- 8080:8080
volumes:
- ${PWD}/ipfs_staging:/export
- ${PWD}/ipfs_data:/data/ipfs
env_file: .env
postgres:
image: postgres:9.6
restart: unless-stopped
# ports:
# - 5432:5432
volumes:
- ./pg_data:/var/lib/postgresql/data
- ./scripts/initdb.d:/docker-entrypoint-initdb.d
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: password
pgadmin:
image: dpage/pgadmin4
restart: unless-stopped
ports:
- 9087:80
volumes:
- ./pgadmin_data:/var/lib/pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: password
catcat-cloud:
container_name: catcat-cloud
build:
context: .
dockerfile: Dockerfile
env_file: .env
restart: unless-stopped
environment:
- PORT=9086
image: catcatio/catcat-cloud
working_dir: /usr/app
ports:
- "9086:9086"
volumes:
- .:/usr/app
depends_on:
- postgres
command: npm run dev:docker