http-observatory/docker-compose.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 строки
600 B
YAML
Исходник Постоянная ссылка Обычный вид История

2016-03-16 22:07:21 +03:00
version: '2'
services:
website:
2023-10-06 17:28:06 +03:00
build: .
command: uwsgi --http :57001 --wsgi-file /app/httpobs/website/main.py --processes 1 --callable app --master
2016-03-16 22:07:21 +03:00
depends_on:
- postgres
environment:
- HTTPOBS_DATABASE_HOST=postgres
2016-03-17 00:25:30 +03:00
- HTTPOBS_DATABASE_PASS=httpobsapipassword
- HTTPOBS_DATABASE_USER=httpobsapi
2016-03-16 22:07:21 +03:00
links:
- postgres
ports:
2016-03-17 00:25:30 +03:00
- "57001:57001"
restart: unless-stopped
2016-03-16 22:07:21 +03:00
postgres:
build: ./httpobs/database
environment:
- POSTGRES_USER=httpobs
- POSTGRES_PASSWORD=totallyfakepassword
- POSTGRES_DB=http_observatory