|
1 |
| -version: '3.4' |
| 1 | +version: "3.4" |
2 | 2 | services:
|
3 |
| - development: |
4 |
| - # Uncomment the next line to use a non-root user. On Linux, this will prevent |
5 |
| - # new files getting created as root, but you may need to update the USER_UID |
6 |
| - # and USER_GID in .devcontainer/Dockerfile to match your user if not 1000. |
7 |
| - user: node |
| 3 | + development: |
| 4 | + # Uncomment the next line to use a non-root user. On Linux, this will prevent |
| 5 | + # new files getting created as root, but you may need to update the USER_UID |
| 6 | + # and USER_GID in .devcontainer/Dockerfile to match your user if not 1000. |
| 7 | + user: node |
8 | 8 |
|
9 |
| - # Using a Dockerfile is optional, but included for completeness. |
10 |
| - build: |
11 |
| - context: . |
12 |
| - dockerfile: Dockerfile |
| 9 | + # Using a Dockerfile is optional, but included for completeness. |
| 10 | + build: |
| 11 | + context: . |
| 12 | + dockerfile: Dockerfile |
13 | 13 |
|
14 |
| - # Uncomment to expose one or more ports |
15 |
| - ports: |
16 |
| - - "8080:8080" |
| 14 | + # Uncomment to expose one or more ports |
| 15 | + ports: |
| 16 | + - "8080:8080" |
17 | 17 |
|
18 |
| - volumes: |
19 |
| - # This is where VS Code should expect to find your project's source code |
20 |
| - # and the value of "workspaceFolder" in .devcontainer/devcontainer.json |
21 |
| - - ..:/workspace |
22 |
| - # Uncomment the next line to use Docker from inside the container. See https://aka.ms/vscode-remote/samples/docker-in-docker-compose for details. |
23 |
| - - /var/run/docker.sock:/var/run/docker.sock |
| 18 | + volumes: |
| 19 | + # This is where VS Code should expect to find your project's source code |
| 20 | + # and the value of "workspaceFolder" in .devcontainer/devcontainer.json |
| 21 | + - ..:/workspace |
| 22 | + # Uncomment the next line to use Docker from inside the container. See https://aka.ms/vscode-remote/samples/docker-in-docker-compose for details. |
| 23 | + - /var/run/docker.sock:/var/run/docker.sock |
24 | 24 |
|
25 |
| - # Overrides default command so things don't shut down after the process ends. |
26 |
| - command: sleep infinity |
27 |
| - gateway: |
28 |
| - image: prague.azurecr.io/prague:12579 |
29 |
| - ports: |
30 |
| - - "3000:3000" |
31 |
| - command: node ../gateway/dist/www.js |
32 |
| - environment: |
33 |
| - - DEBUG=fluid:* |
34 |
| - - NODE_ENV=development |
35 |
| - - IS_FLUID_SERVER=true |
36 |
| - - login__microsoft__clientId |
37 |
| - - login__microsoft__secret |
38 |
| - - login__accounts |
39 |
| - restart: always |
40 |
| - alfred: |
41 |
| - image: prague.azurecr.io/prague:12579 |
42 |
| - ports: |
43 |
| - - "3003:3000" |
44 |
| - command: node dist/alfred/www.js |
45 |
| - environment: |
46 |
| - - DEBUG=fluid:* |
47 |
| - - NODE_ENV=development |
48 |
| - - IS_FLUID_SERVER=true |
49 |
| - restart: always |
50 |
| - deli: |
51 |
| - image: prague.azurecr.io/prague:12579 |
52 |
| - command: node dist/kafka-service/index.js deli /usr/src/server/packages/server/routerlicious/dist/deli/index.js |
53 |
| - environment: |
54 |
| - - DEBUG=fluid:* |
55 |
| - - NODE_ENV=development |
56 |
| - - IS_FLUID_SERVER=true |
57 |
| - restart: always |
58 |
| - scriptorium: |
59 |
| - image: prague.azurecr.io/prague:12579 |
60 |
| - command: node dist/kafka-service/index.js scriptorium /usr/src/server/packages/server/routerlicious/dist/scriptorium/index.js |
61 |
| - environment: |
62 |
| - - DEBUG=fluid:* |
63 |
| - - NODE_ENV=development |
64 |
| - - IS_FLUID_SERVER=true |
65 |
| - restart: always |
66 |
| - broadcaster: |
67 |
| - image: prague.azurecr.io/prague:12579 |
68 |
| - command: node dist/kafka-service/index.js broadcaster /usr/src/server/packages/server/routerlicious/dist/broadcaster/index.js |
69 |
| - environment: |
70 |
| - - DEBUG=fluid:* |
71 |
| - - NODE_ENV=development |
72 |
| - - IS_FLUID_SERVER=true |
73 |
| - restart: always |
74 |
| - scribe: |
75 |
| - image: prague.azurecr.io/prague:12579 |
76 |
| - command: node dist/kafka-service/index.js scribe /usr/src/server/packages/server/routerlicious/dist/scribe/index.js |
77 |
| - environment: |
78 |
| - - DEBUG=fluid:* |
79 |
| - - NODE_ENV=development |
80 |
| - - IS_FLUID_SERVER=true |
81 |
| - restart: always |
82 |
| - riddler: |
83 |
| - image: prague.azurecr.io/prague:12579 |
84 |
| - ports: |
85 |
| - - "5000:5000" |
86 |
| - command: node dist/riddler/www.js |
87 |
| - environment: |
88 |
| - - DEBUG=fluid:* |
89 |
| - - NODE_ENV=development |
90 |
| - - IS_FLUID_SERVER=true |
91 |
| - restart: always |
92 |
| - historian: |
93 |
| - image: prague.azurecr.io/historian:5109 |
94 |
| - ports: |
95 |
| - - "3001:3000" |
96 |
| - environment: |
97 |
| - - DEBUG=fluid:* |
98 |
| - - NODE_ENV=development |
99 |
| - - IS_FLUID_SERVER=true |
100 |
| - restart: always |
101 |
| - gitrest: |
102 |
| - image: prague.azurecr.io/gitrest:4048 |
103 |
| - environment: |
104 |
| - - DEBUG=fluid:* |
105 |
| - - NODE_ENV=development |
106 |
| - - IS_FLUID_SERVER=true |
107 |
| - volumes: |
108 |
| - - git:/home/node/documents |
109 |
| - restart: always |
110 |
| - git: |
111 |
| - image: prague.azurecr.io/gitssh:654 |
112 |
| - ports: |
113 |
| - - "3022:22" |
114 |
| - volumes: |
115 |
| - - git:/home/git |
116 |
| - restart: always |
117 |
| - zookeeper: |
118 |
| - image: wurstmeister/zookeeper:latest |
119 |
| - ports: |
120 |
| - - "2181:2181" |
121 |
| - restart: always |
122 |
| - kafka: |
123 |
| - image: wurstmeister/kafka:2.11-1.1.1 |
124 |
| - ports: |
125 |
| - - "9092:9092" |
126 |
| - environment: |
127 |
| - KAFKA_ADVERTISED_HOST_NAME: "kafka" |
128 |
| - KAFKA_ADVERTISED_PORT: "9092" |
129 |
| - KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'false' |
130 |
| - KAFKA_CREATE_TOPICS: "deltas:8:1,rawdeltas:8:1,testtopic:8:1,deltas2:8:1,rawdeltas2:8:1" |
131 |
| - KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 |
132 |
| - restart: always |
133 |
| - redis: |
134 |
| - image: "redis:alpine" |
135 |
| - mongodb: |
136 |
| - image: "mongo:3.4.3" |
137 |
| - rabbitmq: |
138 |
| - image: "rabbitmq:alpine" |
| 25 | + # Overrides default command so things don't shut down after the process ends. |
| 26 | + command: sleep infinity |
| 27 | + gateway: |
| 28 | + image: prague.azurecr.io/prague:12579 |
| 29 | + ports: |
| 30 | + - "3000:3000" |
| 31 | + command: node ../gateway/dist/www.js |
| 32 | + environment: |
| 33 | + - DEBUG=fluid:* |
| 34 | + - NODE_ENV=development |
| 35 | + - IS_FLUID_SERVER=true |
| 36 | + - login__microsoft__clientId |
| 37 | + - login__microsoft__secret |
| 38 | + - login__accounts |
| 39 | + restart: always |
| 40 | + alfred: |
| 41 | + image: prague.azurecr.io/prague:12579 |
| 42 | + ports: |
| 43 | + - "3003:3000" |
| 44 | + command: node dist/alfred/www.js |
| 45 | + environment: |
| 46 | + - DEBUG=fluid:* |
| 47 | + - NODE_ENV=development |
| 48 | + - IS_FLUID_SERVER=true |
| 49 | + restart: always |
| 50 | + deli: |
| 51 | + image: prague.azurecr.io/prague:12579 |
| 52 | + command: node dist/kafka-service/index.js deli /usr/src/server/packages/server/routerlicious/dist/deli/index.js |
| 53 | + environment: |
| 54 | + - DEBUG=fluid:* |
| 55 | + - NODE_ENV=development |
| 56 | + - IS_FLUID_SERVER=true |
| 57 | + restart: always |
| 58 | + scriptorium: |
| 59 | + image: prague.azurecr.io/prague:12579 |
| 60 | + command: node dist/kafka-service/index.js scriptorium /usr/src/server/packages/server/routerlicious/dist/scriptorium/index.js |
| 61 | + environment: |
| 62 | + - DEBUG=fluid:* |
| 63 | + - NODE_ENV=development |
| 64 | + - IS_FLUID_SERVER=true |
| 65 | + restart: always |
| 66 | + broadcaster: |
| 67 | + image: prague.azurecr.io/prague:12579 |
| 68 | + command: node dist/kafka-service/index.js broadcaster /usr/src/server/packages/server/routerlicious/dist/broadcaster/index.js |
| 69 | + environment: |
| 70 | + - DEBUG=fluid:* |
| 71 | + - NODE_ENV=development |
| 72 | + - IS_FLUID_SERVER=true |
| 73 | + restart: always |
| 74 | + scribe: |
| 75 | + image: prague.azurecr.io/prague:12579 |
| 76 | + command: node dist/kafka-service/index.js scribe /usr/src/server/packages/server/routerlicious/dist/scribe/index.js |
| 77 | + environment: |
| 78 | + - DEBUG=fluid:* |
| 79 | + - NODE_ENV=development |
| 80 | + - IS_FLUID_SERVER=true |
| 81 | + restart: always |
| 82 | + riddler: |
| 83 | + image: prague.azurecr.io/prague:12579 |
| 84 | + ports: |
| 85 | + - "5000:5000" |
| 86 | + command: node dist/riddler/www.js |
| 87 | + environment: |
| 88 | + - DEBUG=fluid:* |
| 89 | + - NODE_ENV=development |
| 90 | + - IS_FLUID_SERVER=true |
| 91 | + restart: always |
| 92 | + historian: |
| 93 | + image: prague.azurecr.io/historian:5109 |
| 94 | + ports: |
| 95 | + - "3001:3000" |
| 96 | + environment: |
| 97 | + - DEBUG=fluid:* |
| 98 | + - NODE_ENV=development |
| 99 | + - IS_FLUID_SERVER=true |
| 100 | + restart: always |
| 101 | + gitrest: |
| 102 | + image: prague.azurecr.io/gitrest:4048 |
| 103 | + environment: |
| 104 | + - DEBUG=fluid:* |
| 105 | + - NODE_ENV=development |
| 106 | + - IS_FLUID_SERVER=true |
| 107 | + volumes: |
| 108 | + - git:/home/node/documents |
| 109 | + restart: always |
| 110 | + git: |
| 111 | + image: prague.azurecr.io/gitssh:654 |
| 112 | + ports: |
| 113 | + - "3022:22" |
| 114 | + volumes: |
| 115 | + - git:/home/git |
| 116 | + restart: always |
| 117 | + zookeeper: |
| 118 | + image: wurstmeister/zookeeper:latest |
| 119 | + ports: |
| 120 | + - "2181:2181" |
| 121 | + restart: always |
| 122 | + kafka: |
| 123 | + image: wurstmeister/kafka:2.11-1.1.1 |
| 124 | + ports: |
| 125 | + - "9092:9092" |
| 126 | + environment: |
| 127 | + KAFKA_ADVERTISED_HOST_NAME: "kafka" |
| 128 | + KAFKA_ADVERTISED_PORT: "9092" |
| 129 | + KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false" |
| 130 | + KAFKA_CREATE_TOPICS: "deltas:8:1,rawdeltas:8:1,testtopic:8:1,deltas2:8:1,rawdeltas2:8:1" |
| 131 | + KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 |
| 132 | + restart: always |
| 133 | + redis: |
| 134 | + image: "redis:alpine" |
| 135 | + mongodb: |
| 136 | + image: "mongo:3.4.3" |
| 137 | + rabbitmq: |
| 138 | + image: "rabbitmq:alpine" |
139 | 139 | volumes:
|
140 | 140 | git:
|
141 | 141 | driver: local
|
0 commit comments