2021-01-27 23:42:53 +11:00
|
|
|
version: "3.4"
|
2020-12-07 16:02:29 +11:00
|
|
|
services:
|
|
|
|
csharp:
|
|
|
|
container_name: csharp # image name
|
2021-02-08 15:43:34 +11:00
|
|
|
image: cruxlight/csharp_prod:1.0.0
|
2020-12-07 16:02:29 +11:00
|
|
|
build:
|
2020-12-08 13:54:06 +11:00
|
|
|
context: ./c#
|
2021-02-08 13:48:57 +11:00
|
|
|
target: prod
|
2021-02-08 11:30:04 +11:00
|
|
|
volumes:
|
2020-12-08 12:26:21 +11:00
|
|
|
- ./c#/src/:/work
|
|
|
|
ports:
|
2021-02-08 11:30:04 +11:00
|
|
|
- 5500:5000
|
2020-12-07 16:02:29 +11:00
|
|
|
golang:
|
|
|
|
container_name: golang
|
2021-02-08 15:43:34 +11:00
|
|
|
image: cruxlight/golang_prod:1.0.0
|
2020-12-08 13:54:06 +11:00
|
|
|
build:
|
|
|
|
context: ./golang
|
2021-02-08 13:48:57 +11:00
|
|
|
target: prod
|
2021-02-08 11:40:44 +11:00
|
|
|
volumes:
|
2020-12-08 12:26:21 +11:00
|
|
|
- ./golang/src/:/work
|
|
|
|
ports:
|
2021-02-08 11:40:44 +11:00
|
|
|
- 5501:5000
|
2020-12-07 16:02:29 +11:00
|
|
|
nodejs:
|
|
|
|
container_name: nodejs
|
2021-02-08 15:43:34 +11:00
|
|
|
image: cruxlight/nodejs_prod:1.0.0
|
2020-12-08 13:54:06 +11:00
|
|
|
build:
|
|
|
|
context: ./nodejs
|
2021-02-08 13:48:57 +11:00
|
|
|
target: prod
|
2021-02-08 11:50:13 +11:00
|
|
|
volumes:
|
2020-12-08 12:26:21 +11:00
|
|
|
- ./nodejs/src/:/work
|
|
|
|
ports:
|
2021-02-08 11:50:13 +11:00
|
|
|
- 5502:5000
|
2021-02-08 11:57:52 +11:00
|
|
|
python: #docker run -it -v ${PWD}:/work -w /work -p 5003:5000 aimvector/python:1.0.0 /bin/sh
|
2020-12-07 16:02:29 +11:00
|
|
|
container_name: python
|
2021-02-08 15:43:34 +11:00
|
|
|
image: cruxlight/python_prod:1.0.0
|
2021-02-08 13:48:57 +11:00
|
|
|
build:
|
|
|
|
context: ./python
|
|
|
|
target: prod
|
2021-02-08 11:57:52 +11:00
|
|
|
volumes:
|
2020-12-08 12:26:21 +11:00
|
|
|
- ./python/src/:/work
|
|
|
|
ports:
|
2021-02-08 11:57:52 +11:00
|
|
|
- 5503:5000
|
2020-12-07 16:02:29 +11:00
|
|
|
first-public-dockerhub-image:
|
|
|
|
container_name: first-public-dockerhub-image
|
|
|
|
image: cruxlight/first-public-dockerhub-image:latest
|
|
|
|
build: ./first-public-dockerhub-image
|