-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (63 loc) · 2.14 KB
/
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
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
version: '3.4'
services:
backstage:
container_name: backstage_container
image: sourcefuse/backstage
build: .
environment:
ENVIRONMENT: production
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-changeme}
AUTH_GITHUB_CLIENT_ID: ${AUTH_GITHUB_CLIENT_ID:-secret}
AUTH_GITHUB_CLIENT_SECRET: ${AUTH_GITHUB_CLIENT_SECRET:-secret}
INTEGRATION_GITHUB_APP_ID: ${INTEGRATION_GITHUB_APP_ID-1234}
INTEGRATION_GITHUB_WEBHOOK_URL: ${INTEGRATION_GITHUB_WEBHOOK_URL-https://test.test}
INTEGRATION_GITHUB_CLIENT_ID: ${INTEGRATION_GITHUB_CLIENT_ID-secret}
INTEGRATION_GITHUB_CLIENT_SECRET: ${INTEGRATION_GITHUB_CLIENT_SECRET-secret}
INTEGRATION_GITHUB_WEBHOOK_SECRET: ${INTEGRATION_GITHUB_WEBHOOK_SECRET-secret}
INTEGRATION_GITHUB_PRIVATE_KEY: ${INTEGRATION_GITHUB_PRIVATE_KEY-secret}
SNYK_TOKEN: ${SNYK_TOKEN-secret}
BASE_URL: ${BASE_URL-http://localhost:7007}
FRONTEND_BASE_URL: ${FRONTEND_BASE_URL-http://localhost:7007}
ENABLE_GITHUB_SYNC: "false" # only run this when needed as it uses a large amount of API calls
ports:
- '7007:7007'
networks:
- backstage
restart: always
postgres:
container_name: postgres_container
image: postgres
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-changeme}
PGDATA: /data/postgres
volumes:
- postgres_backstage:/data/postgres
ports:
- '5432:5432'
networks:
- backstage
restart: always
pgadmin:
container_name: pgadmin_container
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:[email protected]}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
PGADMIN_LISTEN_ADDRESS: ${PGADMIN_LISTEN_ADDRESS:-0.0.0.0}
volumes:
- pgadmin_backstage:/root/.pgadmin
ports:
- '${PGADMIN_PORT:-5050}:80'
networks:
- backstage
restart: always
networks:
backstage:
driver: bridge
volumes:
postgres_backstage:
pgadmin_backstage: