forked from vanandrew/web-common
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.yaml
More file actions
35 lines (33 loc) · 726 Bytes
/
compose.yaml
File metadata and controls
35 lines (33 loc) · 726 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
services:
gunicorn:
image: caterinagratton/gratton-lab-website
depends_on:
- postgres
ports:
- "8000:8000"
networks:
- main
environment:
- DATABASE_URL=postgres://ajxfstclzxhdss:postgres@postgres:5432/d7i8e5thopmkvh
- PRODUCTION=TRUE
- DEBUG=FALSE
- USE_SUBPATH=TRUE
secrets:
- dropbox
restart: always
postgres:
image: postgres:15.2-alpine
networks:
- main
environment:
- POSTGRES_USER=ajxfstclzxhdss
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=d7i8e5thopmkvh
volumes:
- ./postgres_data:/var/lib/postgresql/data
restart: always
secrets:
dropbox:
file: ./dropbox_token
networks:
main: {}