Skip to content

Commit 8a13ae1

Browse files
Merge pull request laradock#922 from Lednerb/adding-env-aerospike-rethinkdb-mongodb
Added ENV support for aerospike, rethinkdb and mongodb.
2 parents aab2017 + a2058ca commit 8a13ae1

2 files changed

Lines changed: 22 additions & 6 deletions

File tree

docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ services:
298298
mongo:
299299
build: ./mongo
300300
ports:
301-
- "27017:27017"
301+
- "${MONGODB_PORT}:27017"
302302
volumes:
303303
- ${DATA_SAVE_PATH}/mongo:/data/db
304304
networks:
@@ -309,7 +309,7 @@ services:
309309
rethinkdb:
310310
build: ./rethinkdb
311311
ports:
312-
- "8090:8080"
312+
- "${RETHINKDB_PORT}:8080"
313313
volumes:
314314
- ${DATA_SAVE_PATH}/rethinkdb:/data/rethinkdb_data
315315
networks:
@@ -335,10 +335,10 @@ services:
335335
volumes:
336336
- ${DATA_SAVE_PATH}/aerospike:/opt/aerospike/data
337337
ports:
338-
- "3000:3000"
339-
- "3001:3001"
340-
- "3002:3002"
341-
- "3003:3003"
338+
- "${AEROSPIKE_SERVICE_PORT}:3000"
339+
- "${AEROSPIKE_FABRIC_PORT}:3001"
340+
- "${AEROSPIKE_HEARTBEAT_PORT}:3002"
341+
- "${AEROSPIKE_INFO_PORT}:3003"
342342
networks:
343343
- backend
344344

env-example

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,29 @@ BLACKFIRE_CLIENT_TOKEN=<client_token>
216216
BLACKFIRE_SERVER_ID=<server_id>
217217
BLACKFIRE_SERVER_TOKEN=<server_token>
218218

219+
### AEROSPIKE ##########################################################################################################
220+
221+
AEROSPIKE_SERVICE_PORT=3000
222+
AEROSPIKE_FABRIC_PORT=3001
223+
AEROSPIKE_HEARTBEAT_PORT=3002
224+
AEROSPIKE_INFO_PORT=3003
225+
226+
### RETHINKDB ##########################################################################################################
227+
228+
RETHINKDB_PORT=8090
229+
230+
### MONGODB ############################################################################################################
231+
232+
MONGODB_PORT=27017
233+
219234
### CADDY ##############################################################################################################
220235

221236
CADDY_HOST_HTTP_PORT=80
222237
CADDY_HOST_HTTPS_PORT=443
223238
CADDY_HOST_LOG_PATH=./logs/caddy
224239
CADDY_CUSTOM_CADDYFILE=./caddy/Caddyfile
225240

241+
226242
##### TO BE CONTINUE .................................
227243

228244
# ......... Missing: neo4j mongo rethinkdb redis aerospike pgadmin...

0 commit comments

Comments
 (0)