docker-based-development-guide/docker-compose.yaml

47 lines
1.0 KiB
YAML
Raw Normal View History

2020-12-07 16:02:29 +11:00
version: "3"
services:
csharp:
container_name: csharp # image name
2020-12-07 16:11:54 +11:00
image: cruxlight/csharp_sdk:1.0.0
2020-12-07 16:02:29 +11:00
build:
context: ./c#
working_dir: /work
entrypoint: /bin/sh
stdin_open: true
tty: true
volumes:
- ./c#/src/:/work
ports:
- 5500:5000
2020-12-07 16:02:29 +11:00
golang:
container_name: golang
2020-12-07 16:11:54 +11:00
image: cruxlight/golang_sdk:1.0.0
2020-12-07 16:02:29 +11:00
build: ./golang
working_dir: /work
entrypoint: /bin/sh
stdin_open: true
tty: true
volumes:
- ./golang/src/:/work
ports:
- 5501:5000
2020-12-07 16:02:29 +11:00
nodejs:
container_name: nodejs
2020-12-07 16:11:54 +11:00
image: cruxlight/nodejs:1.0.0
2020-12-07 16:02:29 +11:00
build: ./nodejs
working_dir: /work
entrypoint: /bin/sh
stdin_open: true
tty: true
volumes:
- ./nodejs/src/:/work
ports:
- 5502:5000
2020-12-07 16:02:29 +11:00
python:
container_name: python
2020-12-07 16:11:54 +11:00
image: cruxlight/python:1.0.0
2020-12-07 16:02:29 +11:00
build: ./python
first-public-dockerhub-image:
container_name: first-public-dockerhub-image
image: cruxlight/first-public-dockerhub-image:latest
build: ./first-public-dockerhub-image