-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yml
59 lines (56 loc) · 1.43 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
56
57
58
59
services:
web:
container_name: geesome
build: .
command: npm run in-docker-start
restart: always
ports:
- "2052:2052"
- "2082:2082"
depends_on:
- ipfs
- postgres
volumes:
- "${GEESOME_DATA:-./.docker-data/geesome-data}:/geesome-node/data"
- "${GEESOME_FRONTEND_DIST:-./.docker-data/geesome-frontend}:/geesome-node/frontend/docker-dist"
environment:
- IPFS_PROFILE
- DEBUG
- SSG_RUNTIME
- DATABASE_USER=geesome
- DATABASE_PASSWORD=geesome
- DATABASE_NAME=geesome_node
- DATABASE_HOST=geesome_db
- DATABASE_PORT=5432
postgres:
container_name: geesome_db
image: postgres:14-alpine
restart: always
expose:
- 5432
volumes:
- "${POSTGRES_DATA:-./.docker-data/postgres-data}:/var/lib/postgresql/data"
environment:
- POSTGRES_PASSWORD=geesome
- POSTGRES_USER=geesome
- POSTGRES_DB=geesome_node
client:
image: nginx
ports:
- "127.0.0.1:2042:80"
volumes:
- "${GEESOME_FRONTEND_DIST:-./.docker-data/geesome-frontend}:/usr/share/nginx/html"
ipfs:
container_name: go_ipfs
image: "ipfs/kubo:v0.21.0"
restart: always
environment:
- IPFS_PROFILE
expose:
- 5001
ports:
- "4001:4001"
- "8080:8080"
volumes:
- "${STORAGE_STAGING:-./.docker-data/ipfs-staging}:/export"
- "${STORAGE_DATA:-./.docker-data/ipfs}:/data/ipfs"