forked from elpaso/qgis-feed
-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.dev.yml
54 lines (52 loc) · 1.44 KB
/
docker-compose.dev.yml
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
44
45
46
47
48
49
50
51
52
53
54
version: '3.7'
services:
postgis:
image: kartoza/postgis:16-3.4
platform: linux/amd64
environment:
POSTGRES_USER: docker
POSTGRES_PASS: docker
POSTGRES_DBNAME: qgisfeed
# ports:
# - "5436:5432"
qgisfeed:
# Note you cannot scale if you use container_name
container_name: qgisfeed
build:
context: .
dockerfile: ./Dockerfile
platform: linux/amd64
command: /code/entrypoint_testing.sh
environment:
DJANGO_SETTINGS_MODULE: qgisfeedproject.settings_dev
QGISFEED_DOCKER_DBNAME: ${QGISFEED_DOCKER_DBNAME}
QGISFEED_DOCKER_DBUSER: ${QGISFEED_DOCKER_DBUSER}
QGISFEED_DOCKER_DBPASSWORD: ${QGISFEED_DOCKER_DBPASSWORD}
QGIS_FEED_PROD_URL: ${QGIS_FEED_PROD_URL}
QGISFEED_FROM_EMAIL: ${QGISFEED_FROM_EMAIL:-automation}
EMAIL_BACKEND: ${EMAIL_BACKEND}
EMAIL_HOST: ${EMAIL_HOST}
EMAIL_PORT: ${EMAIL_PORT}
EMAIL_USE_TLS: ${EMAIL_USE_TLS}
EMAIL_HOST_USER: ${EMAIL_HOST_USER:-automation}
EMAIL_HOST_PASSWORD: ${EMAIL_HOST_PASSWORD}
SENTRY_DSN: ${SENTRY_DSN}
SENTRY_RATE: ${SENTRY_RATE}
ports:
- "8000:8000"
links:
- postgis
depends_on:
- postgis
volumes:
- ../qgis-feed:/code
- ./REQUIREMENTS.txt:/REQUIREMENTS.txt
webpack:
build:
context: .
dockerfile: ./Dockerfile
platform: linux/amd64
command: npm start
working_dir: /code
volumes:
- .:/code