Skip to content

Commit 435af04

Browse files
committed
Merge branch 'test'
2 parents 1fde790 + 75e6400 commit 435af04

35 files changed

+5690
-18946
lines changed

.env.TEMPLATE

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ DJANGO_SU_NAME=admin.name
77
88
DJANGO_SU_PASSWORD=admin.password
99

10+
REDIS_HOST=redis
11+
REDIS_PORT=6379
12+
1013
SOCIBP_BASE_URL=https://xxx:[email protected]/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Harvester Bug Report
3+
about: You want to report a bug in the Harvester.
4+
title: "[TITLE]"
5+
labels: Bug, Harvester
6+
---
7+
8+
### Summary
9+
10+
<!-- Summarize the bug encountered concisely -->
11+
12+
### Steps to reproduce
13+
14+
<!-- How one can reproduce the issue - this is very important -->
15+
16+
### Example page (Optional)
17+
18+
<!-- If possible, please provide the URL of the page here that exhibits the problematic behavior -->
19+
20+
### Current *bug* behavior
21+
22+
<!-- What actually happens -->
23+
24+
### Expected *correct* behavior
25+
26+
<!-- What you should see instead -->
27+
28+
### Relevant screenshots and/or logs
29+
30+
<!-- Paste any relevant screenshots -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Harvester Feature Report
3+
about: You want to report a bug in the Harvester.
4+
title: "[TITLE]"
5+
labels: Feature, Harvester
6+
---
7+
8+
### Problem to solve
9+
10+
<!-- What problem do we solve? -->
11+
12+
### Further details
13+
14+
<!-- Include use cases, benefits, and/or goals -->
15+
16+
### Proposal
17+
18+
<!-- What do you propose to solve this problem? -->
19+
20+
### Links / references
21+
22+
<!-- Provide any screenshot or links to websites that may be relevant to your proposal -->

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ __pycache__
99
/svip_db_backups/**/*.sql
1010
TODO.md
1111
*.swp
12+
.DS_Store
1213

1314
# stuff we don't want to commit quite yet
1415
/sensitive

compose_configs/prod.yml

-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ services:
1313
volumes:
1414
- api_static:/app/static
1515
environment:
16-
# - POSTGRES_DB=svip_api
1716
- USE_DEV_SERVER=
1817
- DJANGO_SETTINGS_MODULE=svip_server.settings.production

compose_configs/sites/sib-svip-private.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ services:
88
https_proxy: http://172.17.0.1:18184
99
nginx:
1010
ports:
11+
- "443:443"
1112
- "80:80"
1213
volumes:
13-
- "${PWD}/service_config/nginx/sites/without_ssl.nginx:/etc/nginx/conf.d/svip.nginx:ro"
14+
# - "${PWD}/service_config/nginx/sites/without_ssl.nginx:/etc/nginx/conf.d/svip.nginx:ro"
15+
- "${PWD}/service_config/nginx/sites/with_ssl.nginx:/etc/nginx/conf.d/svip.nginx:ro"
16+
- /var/vhosts/cert-store/vital-it.ch/fullchain.pem:/etc/pki/tls/certs/host.crt.pem
17+
- /var/vhosts/cert-store/vital-it.ch/privkey.pem:/etc/pki/tls/private/host.privkey.pem
1418

1519
frontend:
1620
build:
1721
args:
1822
http_proxy: http://172.17.0.1:18184
1923
https_proxy: http://172.17.0.1:18184
2024
environment:
21-
- "VUE_APP_API_URL=https://svip.sensa.sib.swiss/api/v1/"
25+
- "VUE_APP_API_URL=/api/v1/"

docker-compose.override.yml

+4
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ services:
2929
- '3000:8080'
3030
environment:
3131
- 'VUE_APP_API_URL=http://localhost:8085/api/v1/'
32+
33+
redis:
34+
ports:
35+
- "${REDIS_PORT}:${REDIS_PORT}"

docker-compose.yml

+27-20
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,22 @@ services:
3535
- "svip_pgdata:/var/lib/postgresql/data"
3636
- ./svip_db_backups:/backups
3737
- ./service_config/postgres:/docker-entrypoint-initdb.d
38-
environment:
39-
- POSTGRES_USER
40-
- POSTGRES_PASSWORD
41-
- POSTGRES_DB
42-
- PGUSER=${POSTGRES_USER}
43-
- PGPASSWORD=${POSTGRES_PASSWORD}
44-
- PGDB=${POSTGRES_DB}
38+
# environment:
39+
# - POSTGRES_USER
40+
# - POSTGRES_PASSWORD
41+
# - POSTGRES_DB
42+
# - PGUSER=${POSTGRES_USER}
43+
# - PGPASSWORD=${POSTGRES_PASSWORD}
44+
# - PGDB=${POSTGRES_DB}
45+
env_file:
46+
- .env
4547

4648
api:
4749
container_name: svip_api
4850
# image: "svip_api:latest"
4951
build: ./svip_api
5052
# restart: always
53+
hostname: api
5154
volumes:
5255
- ./svip_api:/app
5356
- api_static:/var/staticfiles
@@ -56,17 +59,21 @@ services:
5659
depends_on:
5760
- db
5861
- redis
59-
environment:
60-
- POSTGRES_HOST=db
61-
- POSTGRES_PORT=5432
62-
- POSTGRES_USER
63-
- POSTGRES_PASSWORD
64-
- POSTGRES_DB
65-
- DJANGO_SU_NAME
66-
- DJANGO_SU_EMAIL
67-
- DJANGO_SU_PASSWORD
68-
- SOCIBP_BASE_URL
69-
- USE_DEV_SERVER=true
62+
# environment:
63+
# - POSTGRES_HOST=db
64+
# - POSTGRES_PORT=5432
65+
# - POSTGRES_USER
66+
# - POSTGRES_PASSWORD
67+
# - POSTGRES_DB
68+
# - DJANGO_SU_NAME
69+
# - DJANGO_SU_EMAIL
70+
# - DJANGO_SU_PASSWORD
71+
# - SOCIBP_BASE_URL
72+
# - USE_DEV_SERVER=true
73+
# - REDIS_HOST=${REDIS_HOST}
74+
# - REDIS_PORT=${REDIS_PORT}
75+
env_file:
76+
- .env
7077

7178
frontend:
7279
container_name: svip_frontend
@@ -85,11 +92,11 @@ services:
8592
- "3000:8080"
8693
environment:
8794
- "VUE_APP_API_URL=http://localhost:8085/api/v1/"
88-
env_file:
89-
- .env
9095
depends_on:
9196
- api
9297

9398
redis:
9499
container_name: svip_redis
95100
image: "redis:alpine"
101+
env_file:
102+
- .env

svip-o-vue/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ yarn-error.log*
1212
*.ntvs*
1313
*.njsproj
1414
*.sln
15+
16+
.env*

0 commit comments

Comments
 (0)