-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (40 loc) · 1.23 KB
/
docker-compose.yml
File metadata and controls
42 lines (40 loc) · 1.23 KB
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
services:
app:
platform: linux/amd64
build:
context: .
dockerfile: Dockerfile
container_name: github
environment:
- GHAPP_API_HOST=${GHAPP_API_HOST}
- GHAPP_SERVER_PORT=${GHAPP_SERVER_PORT}
- GHAPP_REDIS_HOST=${GHAPP_REDIS_HOST}
- GHAPP_REDIS_PORT=${GHAPP_REDIS_PORT}
- WIRE_SDK_API_HOST=${WIRE_SDK_API_HOST}
- WIRE_SDK_API_TOKEN=${WIRE_SDK_API_TOKEN}
- WIRE_SDK_APP_ID=${WIRE_SDK_APP_ID}
- WIRE_SDK_CRYPTOGRAPHY_STORAGE_PASSWORD=${WIRE_SDK_CRYPTOGRAPHY_STORAGE_PASSWORD}
- WIRE_SDK_USER_ID=${WIRE_SDK_USER_ID}
- WIRE_SDK_EMAIL=${WIRE_SDK_EMAIL}
- WIRE_SDK_PASSWORD=${WIRE_SDK_PASSWORD}
- WIRE_SDK_ENVIRONMENT=${WIRE_SDK_ENVIRONMENT}
ports:
- "${GHAPP_SERVER_PORT}:${GHAPP_SERVER_PORT}"
volumes:
- github-app:/app
depends_on:
- redis
redis:
image: redis:7
container_name: github_redis
environment:
- GHAPP_REDIS_PORT=${GHAPP_REDIS_PORT}
restart: unless-stopped
ports:
- "${GHAPP_REDIS_PORT}:${GHAPP_REDIS_PORT}"
volumes:
- redis-data:/data
command: sh -c "redis-server --port $GHAPP_REDIS_PORT --save 60 1 --loglevel warning --appendonly yes"
volumes:
redis-data:
github-app: