-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
85 lines (84 loc) · 2.39 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '3.9'
services:
redis:
image: 'redis:6'
ports:
- '6379:6379'
postgres:
build:
context: 'docker/postgres'
dockerfile: 'DOCKERFILE'
args:
- PGHOST=${PGHOST}
- PGPORT=${PGPORT}
- PGUSER=${PGUSER}
- PGPASSWORD=${PGPASSWORD}
- PGDATABASE=${PGDATABASE}
- PGTESTUSER=${PGTESTUSER}
ports:
- '5432:5432'
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
volumes:
- '${PWD}/docker/postgres/postgres.conf:/etc/postgresql/postgresql.conf'
command: ['-c', 'config-file=/etc/postgresql/postgresql.conf']
task-emulator:
image: ghcr.io/aertje/cloud-tasks-emulator:latest
ports:
- '8123:8123'
expose:
- '8123'
command:
[
'-host',
'0.0.0.0',
'-port',
'8123',
'-queue',
'projects/gallery-local/locations/here/queues/feedbot',
'-queue',
'projects/gallery-local/locations/here/queues/feed-event',
'-queue',
'projects/gallery-local/locations/here/queues/token-processing',
'-queue',
'projects/gallery-local/locations/here/queues/wallet-validate',
'-queue',
'projects/gallery-local/locations/here/queues/push-notifications',
'-queue',
'projects/gallery-local/locations/here/queues/email',
'-queue',
'projects/gallery-local/locations/here/queues/autosocial',
'-queue',
'projects/gallery-local/locations/here/queues/autosocial-poll',
'-queue',
'projects/gallery-local/locations/here/queues/opensea-streamer',
'-queue',
'projects/gallery-local/locations/here/queues/mint-processing',
]
pubsub-emulator:
image: gcr.io/google.com/cloudsdktool/google-cloud-cli:emulators
expose:
- '8085'
ports:
- '8085:8085'
command:
[
'/bin/bash',
'-c',
'gcloud beta emulators pubsub start --host-port=0.0.0.0:8085 --project=gallery-local',
]
# Uncomment if you want to run tokenprocessing locally as a container
# tokenprocessing:
# build:
# context: "."
# dockerfile: "docker/tokenprocessing/Dockerfile"
# ports:
# - "6500:6500"
# volumes:
# - ${PWD}/_local:/app/_local
# - ${PWD}/_deploy:/app/_deploy
# depends_on:
# - postgres
# - redis