-
-
Notifications
You must be signed in to change notification settings - Fork 180
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (29 loc) · 623 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (29 loc) · 623 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
version: "3"
services:
db:
image: postgres:13-alpine
environment:
- DATABASE_URL=postgres://postgres:postgres@localhost/postgres
- POSTGRES_PASSWORD=postgres
ports:
- "5432:5432"
restart: unless-stopped
server:
build:
context: .
dockerfile: ./Dockerfile
args:
- USER_ID
- GROUP_ID
environment:
- DATABASE_URL=psql://postgres:postgres@db/postgres
- GOOGLE_API_KEY
volumes:
- ./address:/code/address
ports:
- "8000:8000"
depends_on:
- db
restart: unless-stopped
stdin_open: true
tty: true