-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (34 loc) · 1005 Bytes
/
docker-compose.yml
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
services:
backstage_app:
container_name: backstage_app
build:
context: .
dockerfile: Dockerfile
args:
APP_ENV: docker
environment:
POSTGRES_HOST: ${POSTGRES_HOST:-backstage_pg_db}
POSTGRES_PORT: ${POSTGRES_PORT:-5432}
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-admin}
GITHUB_TOKEN: ${GITHUB_TOKEN}
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID}
GOOGLE_CLIENT_SECRET: ${GOOGLE_CLIENT_SECRET}
GITHUB_CLIENT_ID: ${GITHUB_CLIENT_ID}
GITHUB_CLIENT_SECRET: ${GITHUB_CLIENT_SECRET}
GITLAB_TOKEN: ${GITLAB_TOKEN}
BASE_URL: ${BASE_URL}
ports:
- 7007:7007
backstage_postgres:
container_name: backstage_postgres
image: postgres:15.4
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-admin}
volumes:
- postgres:/data/postgres
ports:
- "127.0.0.1:5433:5432"
volumes:
postgres: