-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
76 lines (76 loc) · 1.53 KB
/
docker-compose.yaml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
services:
backstage:
build:
context: .
dockerfile: ./packages/backend/Dockerfile
image: tech-modernization/backstage-3m:local
profiles:
- docker
volumes:
- ~/.aws/:/home/node/.aws/
ports:
- 7007:7007
env_file: .env
depends_on:
- backstagedb
node:
image: node:18
user: node
profiles:
- node
volumes:
- .:/opt/app
- ./.gitconfig:/home/node/.gitconfig:ro
- ~/.cache:/home/node/.cache
- ~/.aws/:/home/node/.aws/
ports:
- 3000:3000
- 7007:7007
working_dir: /opt/app
command: ${COMPOSE_COMMAND:-bash}
env_file: .env
backstagedb:
container_name: backstagedb
image: "postgres:11"
env_file: .env
ports:
- 5432:5432
volumes:
- "${DB_LOCAL_PATH}:/var/lib/postgresql/data"
terraform:
image: hashicorp/terraform:1.5.7
profiles:
- build
volumes:
- .:/opt/app
- ~/.aws/:/root/.aws/
- ~/.gitconfig:/root/.gitconfig
working_dir: /opt/app/infra
env_file: .env
tflint:
image: ghcr.io/terraform-linters/tflint:v0.48.0
profiles:
- build
volumes:
- .:/opt/app
working_dir: /opt/app/infra
env_file: .env
checkov:
image: bridgecrew/checkov:2
profiles:
- build
volumes:
- .:/opt/app
working_dir: /opt/app
env_file: .env
yq:
image: mikefarah/yq:4
profiles:
- build
volumes:
- .:/opt/app
working_dir: /opt/app
env_file: .env
networks:
default:
name: backstage