-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
59 lines (51 loc) · 952 Bytes
/
docker-compose.yaml
File metadata and controls
59 lines (51 loc) · 952 Bytes
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
version: '3'
services:
node-app:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
ports:
- 3000:3000
depends_on:
- mongo
command: npm run dev
mongo:
image: mongo
hello-node:
image: node:18
volumes:
- .:/app
working_dir: /app
command: node hello.js
hello-php:
image: php:8.2-cli
volumes:
- .:/app
working_dir: /app
command: php hello.php
hello-python:
image: python:3
volumes:
- .:/app
working_dir: /app
command: python hello.py
hello-go:
image: golang:1.20
volumes:
- .:/app
working_dir: /app
command: go run hello.go
hello-dart:
image: dart:3-sdk
volumes:
- .:/app
working_dir: /app
command: dart run hello.dart
hello-java:
image: openjdk:8-jdk
volumes:
- .:/app
working_dir: /app
command: bash -c "javac hello.java && java hello"