-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
73 lines (67 loc) · 2.21 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
version: "3.9"
services:
contaxy:
build:
context: ..
dockerfile: ./Dockerfile
ports:
- "127.0.0.1:30010:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- POSTGRES_CONNECTION_URI=postgresql://postgres:postgres@postgres:5432/postgres
- S3_ENDPOINT=s3:9000
- S3_ACCESS_KEY=minioadmin
- S3_SECRET_KEY=minioadmin
- BACKEND_CORS_ORIGINS=http://localhost:3000
- USER_REGISTRATION_ENABLED=False
depends_on:
- postgres
- s3
contaxy-setup:
image: curlimages/curl:7.75.0
entrypoint:
["sh", "-c", "sleep 5 && curl contaxy:8080/api/seed/default"]
restart: "no"
depends_on:
- contaxy
postgres:
image: postgres:13.2
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- "127.0.0.1:30011:5432"
pgweb:
container_name: pgweb
restart: always
image: sosedoff/pgweb
ports:
- "30012:8081"
environment:
- DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable
depends_on:
- postgres
s3:
image: minio/minio:RELEASE.2021-03-04T00-53-13Z
command: server /data{1...4}
ports:
- "127.0.0.1:30013:9000"
# contaxy-extension-workspace:
# image: contaxy-extension-workspace
# restart: always
# ports:
# - "127.0.0.1:30014:8080"
# environment:
# - CONTAXY_ENDPOINT=http://contaxy:8080/api
# - CONTAXY_DEPLOYMENT_NAME=contaxy-extension-workspace
# labels:
# ctxy.namespace: "ctxy"
# ctxy.deploymentType: "extension"
# ctxy.deploymentName: "contaxy-extension-workspace"
# ctxy.projectName: "ctxy-global"
# ctxy.ui_extension_endpoint: "8080/projects/{env.projectId}/workspace"
# ctxy.api_extension_endpoint: "8080/projects/{env.projectId}/workspace"
# depends_on:
# - contaxy