-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.ci.yml
More file actions
43 lines (40 loc) · 990 Bytes
/
docker-compose.ci.yml
File metadata and controls
43 lines (40 loc) · 990 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
37
38
39
40
41
42
43
version: "3"
volumes:
local_postgres_data:
external: false
media:
external: false
services:
peam_backend:
image: peam_backend:dev
container_name: peam_backend
build:
context: .
dockerfile: docker/Dockerfile
target: dev
ports:
- 8000:8000
command: ./docker/.dev/start.sh
environment:
- DJANGO_SETTINGS_MODULE=core.settings.dev
- DJANGO_SITE_DOMAIN=localhost:8000
- DJANGO_SITE_DISPLAY=localhost
- DJANGO_DEBUG=false
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- POSTGRES_DB=peam_backend
- POSTGRES_USER=username
- POSTGRES_PASSWORD=password
volumes:
- media:/app/media
postgres:
image: postgres:12.3
container_name: postgres
ports:
- "127.0.0.1:5243:5432"
volumes:
- local_postgres_data:/var/lib/postgresql/data:Z
environment:
- POSTGRES_DB=peam_backend
- POSTGRES_USER=username
- POSTGRES_PASSWORD=password