forked from ArekSredzki/electron-release-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (35 loc) · 912 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
36
version: '2'
services:
web:
build: .
environment:
APP_USERNAME: username
APP_PASSWORD: password
DB_HOST: db
DB_PORT: 5432
DB_USERNAME: releaseserver
DB_NAME: releaseserver
DB_PASSWORD: secret
TOKEN_SECRET: change_me_in_production
APP_URL: 'http://localhost:3001'
S3_API_KEY: 'a4081c53f56c477ca52ceb480465141b'
S3_API_SECRET: '0cd2147e08854a278688c5ce963ddc7d'
S3_BUCKET: 'test-bucket'
S3_REGION: 'GRA'
S3_ENDPOINT: 's3.gra.perf.cloud.ovh.net'
depends_on:
- db
ports:
- '3001:80'
entrypoint: ./scripts/wait.sh db:5432 -- npm start
volumes:
- ./releases:/usr/src/electron-release-server/releases
db:
image: postgres:11
environment:
POSTGRES_PASSWORD: secret
POSTGRES_USER: releaseserver
volumes:
- postgres:/var/lib/postgresql/data
volumes:
postgres: