forked from lucyparsons/OpenOversight
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 854 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (33 loc) · 854 Bytes
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
services:
postgres:
restart: always
image: postgres:13
env_file:
- .env
environment:
POSTGRES_USER: openoversight
POSTGRES_DB: openoversight
volumes:
- postgres:/var/lib/postgresql/data
web:
restart: always
depends_on:
- postgres
image: ghcr.io/orcacollective/openoversight:${DB_IMAGE_TAG:-latest}
env_file:
- .env
environment:
FLASK_APP: OpenOversight.app
# Update with your application's respective Olson-style timezone:
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#list
TIMEZONE: "America/Chicago"
volumes:
- ./data:/data/
secrets:
- source: service-account-key
target: /usr/src/app/service_account_key.json
volumes:
postgres:
secrets:
service-account-key:
file: ./service_account_key.json