Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (65 loc) · 1.62 KB
/
Copy pathdocker-compose.yml
File metadata and controls
67 lines (65 loc) · 1.62 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
volumes:
dareg-postgres15:
services:
postgres:
image: postgres:15.4
volumes:
- dareg-postgres15:/var/lib/postgresql/data
restart: unless-stopped
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: pass123worD
POSTGRES_DB: dareg
dareg:
# image: registry.gitlab.ics.muni.cz:443/ceitec-cf-biodata/dareg:devel
build:
context: .
dockerfile: Dockerfile
args:
COMMIT_DATE: "2020-01-01"
COMMIT_HASH: "not_set"
# depends_on:
# - postgres
ports:
- 8083:8080
develop:
watch:
- path: ./dareg
action: sync
target: /srv/dareg
x-initialSync: true
ignore:
- .git
- .gitignore
- .gitlab
- .gitlab-ci.yml
- .dockerignore
- backend
- .venv
- .vscode
- __pycache__
env_file:
- .env
environment:
# In production mode requests are served by Gunicorn webserver
PRODUCTION: "false"
DJANGO_DEBUG: "True"
# List of allowed hosts separated by spaces (e.g.: "localhost domain.xyz 10.0.0.1")
# If set to "*" all hosts are allowed
DJANGO_ALLOWED_HOSTS: "*"
DJANGO_ALLOWED_ORIGINS: "http://localhost:8083 http://localhost http://localhost:5000"
# DB_HOST: postgres
# DB_USER: postgres
# DB_PASSWORD: pass123worD
# DB_NAME: dareg
# DB_PORT: 5432
adminer:
image: adminer
restart: unless-stopped
ports:
- 8084:8080
depends_on:
- postgres
environment:
ADMINER_DEFAULT_SERVER: postgres