Skip to content

Commit 1c6c58a

Browse files
authored
Merge branch 'main' into feat/emoji-in-tree
2 parents 3783286 + 0892c05 commit 1c6c58a

File tree

6 files changed

+47
-44
lines changed

6 files changed

+47
-44
lines changed

docker/files/production/etc/nginx/conf.d/default.conf.template

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ server {
1111
server_name localhost;
1212
charset utf-8;
1313

14+
# increase max upload size
15+
client_max_body_size 10m;
16+
1417
# Disables server version feedback on pages and in headers
1518
server_tokens off;
1619

@@ -68,7 +71,7 @@ server {
6871
proxy_set_header Host $host;
6972
}
7073

71-
location /collaboration/api/ {
74+
location /collaboration/api/ {
7275
# Collaboration server
7376
proxy_pass http://${YPROVIDER_HOST}:4444;
7477
proxy_set_header Host $host;
@@ -95,7 +98,7 @@ server {
9598

9699
add_header Content-Security-Policy "default-src 'none'" always;
97100
}
98-
101+
99102
location /media-auth {
100103
proxy_pass http://docs_backend/api/v1.0/documents/media-auth/;
101104
proxy_set_header X-Forwarded-Proto https;
@@ -109,4 +112,4 @@ server {
109112
proxy_set_header Content-Length "";
110113
proxy_set_header X-Original-Method $request_method;
111114
}
112-
}
115+
}

docs/examples/compose/compose.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ services:
77
timeout: 2s
88
retries: 300
99
env_file:
10-
- env.d/postgresql
11-
- env.d/common
10+
- env.d/postgresql
11+
- env.d/common
1212
environment:
13-
- PGDATA=/var/lib/postgresql/data/pgdata
13+
- PGDATA=/var/lib/postgresql/data/pgdata
1414
volumes:
15-
- ./data/databases/backend:/var/lib/postgresql/data/pgdata
15+
- ./data/databases/backend:/var/lib/postgresql/data/pgdata
1616

1717
redis:
1818
image: redis:8
@@ -22,12 +22,12 @@ services:
2222
user: ${DOCKER_USER:-1000}
2323
restart: always
2424
environment:
25-
- DJANGO_CONFIGURATION=Production
25+
- DJANGO_CONFIGURATION=Production
2626
env_file:
27-
- env.d/common
28-
- env.d/backend
29-
- env.d/yprovider
30-
- env.d/postgresql
27+
- env.d/common
28+
- env.d/backend
29+
- env.d/yprovider
30+
- env.d/postgresql
3131
healthcheck:
3232
test: ["CMD", "python", "manage.py", "check"]
3333
interval: 15s
@@ -45,24 +45,24 @@ services:
4545
image: lasuite/impress-y-provider:latest
4646
user: ${DOCKER_USER:-1000}
4747
env_file:
48-
- env.d/common
49-
- env.d/yprovider
48+
- env.d/common
49+
- env.d/yprovider
5050

5151
frontend:
5252
image: lasuite/impress-frontend:latest
5353
user: "101"
5454
entrypoint:
55-
- /docker-entrypoint.sh
55+
- /docker-entrypoint.sh
5656
command: ["nginx", "-g", "daemon off;"]
5757
env_file:
58-
- env.d/common
58+
- env.d/common
5959
# Uncomment and set your values if using our nginx proxy example
6060
#environment:
61-
# - VIRTUAL_HOST=${DOCS_HOST} # used by nginx proxy
61+
# - VIRTUAL_HOST=${DOCS_HOST} # used by nginx proxy
6262
# - VIRTUAL_PORT=8083 # used by nginx proxy
6363
# - LETSENCRYPT_HOST=${DOCS_HOST} # used by lets encrypt to generate TLS certificate
6464
volumes:
65-
- ./default.conf.template:/etc/nginx/templates/docs.conf.template
65+
- ./default.conf.template:/etc/nginx/templates/docs.conf.template
6666
depends_on:
6767
backend:
6868
condition: service_healthy

docs/examples/compose/keycloak/compose.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ services:
77
timeout: 2s
88
retries: 300
99
env_file:
10-
- env.d/kc_postgresql
10+
- env.d/kc_postgresql
1111
volumes:
12-
- ./data/keycloak:/var/lib/postgresql/data/pgdata
12+
- ./data/keycloak:/var/lib/postgresql/data/pgdata
1313

1414
keycloak:
1515
image: quay.io/keycloak/keycloak:26.1.3
1616
command: ["start"]
1717
env_file:
18-
- env.d/kc_postgresql
19-
- env.d/keycloak
18+
- env.d/kc_postgresql
19+
- env.d/keycloak
2020
# Uncomment and set your values if using our nginx proxy example
2121
# environment:
22-
# - VIRTUAL_HOST=id.yourdomain.tld # used by nginx proxy
22+
# - VIRTUAL_HOST=id.yourdomain.tld # used by nginx proxy
2323
# - VIRTUAL_PORT=8080 # used by nginx proxy
2424
# - LETSENCRYPT_HOST=id.yourdomain.tld # used by lets encrypt to generate TLS certificate
2525
depends_on:
26-
kc_postgresql::
26+
kc_postgresql:
2727
condition: service_healthy
2828
restart: true
2929
# Uncomment if using our nginx proxy example
@@ -33,4 +33,4 @@ services:
3333
#
3434
#networks:
3535
# proxy-tier:
36-
# external: true
36+
# external: true

docs/examples/compose/minio/compose.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ services:
22
minio:
33
image: minio/minio
44
environment:
5-
- MINIO_ROOT_USER=<set minio root username>
6-
- MINIO_ROOT_PASSWORD=<set minio root password>
5+
- MINIO_ROOT_USER=<set minio root username>
6+
- MINIO_ROOT_PASSWORD=<set minio root password>
77
# Uncomment and set your values if using our nginx proxy example
88
# - VIRTUAL_HOST=storage.yourdomain.tld # used by nginx proxy
99
# - VIRTUAL_PORT=9000 # used by nginx proxy
@@ -16,12 +16,12 @@ services:
1616
entrypoint: ""
1717
command: minio server /data
1818
volumes:
19-
- ./data/minio:/data
19+
- ./data/minio:/data
2020
# Uncomment if using our nginx proxy example
2121
# networks:
22-
# - proxy-tier
22+
# - proxy-tier
2323

2424
# Uncomment if using our nginx proxy example
2525
#networks:
2626
# proxy-tier:
27-
# external: true
27+
# external: true

docs/examples/compose/nginx-proxy/compose.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@ services:
33
image: nginxproxy/nginx-proxy
44
container_name: nginx-proxy
55
ports:
6-
- "80:80"
7-
- "443:443"
6+
- "80:80"
7+
- "443:443"
88
volumes:
9-
- html:/usr/share/nginx/html
10-
- certs:/etc/nginx/certs:ro
11-
- /var/run/docker.sock:/tmp/docker.sock:ro
9+
- html:/usr/share/nginx/html
10+
- certs:/etc/nginx/certs:ro
11+
- /var/run/docker.sock:/tmp/docker.sock:ro
1212
networks:
13-
- proxy-tier
13+
- proxy-tier
1414

1515
acme-companion:
1616
image: nginxproxy/acme-companion
1717
container_name: nginx-proxy-acme
1818
environment:
19-
- DEFAULT_EMAIL=mail@yourdomain.tld
19+
- DEFAULT_EMAIL=mail@yourdomain.tld
2020
volumes_from:
21-
- nginx-proxy
21+
- nginx-proxy
2222
volumes:
23-
- certs:/etc/nginx/certs:rw
24-
- acme:/etc/acme.sh
25-
- /var/run/docker.sock:/var/run/docker.sock:ro
23+
- certs:/etc/nginx/certs:rw
24+
- acme:/etc/acme.sh
25+
- /var/run/docker.sock:/var/run/docker.sock:ro
2626
networks:
27-
- proxy-tier
27+
- proxy-tier
2828

2929
networks:
3030
proxy-tier:

env.d/production.dist/backend

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ OIDC_RP_CLIENT_ID=<client_id>
4343
OIDC_RP_CLIENT_SECRET=<client secret>
4444
OIDC_RP_SIGN_ALGO=RS256
4545
OIDC_RP_SCOPES="openid email"
46-
#USER_OIDC_FIELD_TO_SHORTNAME
47-
#USER_OIDC_FIELDS_TO_FULLNAME
46+
#OIDC_USERINFO_SHORTNAME_FIELD
47+
#OIDC_USERINFO_FULLNAME_FIELDS
4848

4949
LOGIN_REDIRECT_URL=https://${DOCS_HOST}
5050
LOGIN_REDIRECT_URL_FAILURE=https://${DOCS_HOST}

0 commit comments

Comments
 (0)