Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christian Merten
haskell-gargantext
Commits
0d3eb314
Verified
Commit
0d3eb314
authored
Jun 17, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[docker-compose] add caddy as a frontend
parent
01f44faa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
24 deletions
+36
-24
docker-compose.yaml
devops/docker/docker-compose.yaml
+35
-24
gargantext-cors-settings.toml
gargantext-cors-settings.toml
+1
-0
No files found.
devops/docker/docker-compose.yaml
View file @
0d3eb314
version
:
'
3'
version
:
'
3'
services
:
services
:
caddy
:
image
:
caddy:alpine
network
:
host
ports
:
-
8108:8108
volumes
:
-
./Caddyfile:/etc/caddy/Caddyfile:ro
-
../../purescript-gargantext:/srv/purescript-gargantext:ro
#postgres11:
#postgres11:
# #image: 'postgres:latest'
# #image: 'postgres:latest'
# image: 'postgres:11'
# image: 'postgres:11'
...
@@ -36,33 +45,35 @@ services:
...
@@ -36,33 +45,35 @@ services:
-
../dbs:/dbs
-
../dbs:/dbs
-
../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
-
../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
pgadmin
:
# NOTE: Use dbeaver instead, it's nicer and remembers passwords
image
:
'
dpage/pgadmin4'
# (unlike pgadmin when you remove the docker volume)
ports
:
# pgadmin:
-
8081:80
# image: 'dpage/pgadmin4'
environment
:
# ports:
PGADMIN_DEFAULT_EMAIL
:
admin@localhost.lan
# - 8081:80
PGADMIN_DEFAULT_PASSWORD
:
admin
# environment:
# PGADMIN_DEFAULT_EMAIL: admin@localhost.lan
# PGADMIN_DEFAULT_PASSWORD: admin
depends_on
:
#
depends_on:
-
postgres
#
- postgres
links
:
#
links:
-
postgres
#
- postgres
volumes
:
#
volumes:
-
pgadmin:/var/lib/pgadmin
#
- pgadmin:/var/lib/pgadmin
corenlp
:
#
corenlp:
#image: 'cgenie/corenlp-garg:latest'
#
#image: 'cgenie/corenlp-garg:latest'
image
:
'
cgenie/corenlp-garg:4.5.4'
#
image: 'cgenie/corenlp-garg:4.5.4'
ports
:
#
ports:
-
9000:9000
#
- 9000:9000
johnsnownlp
:
#
johnsnownlp:
image
:
'
johnsnowlabs/nlp-server:latest'
#
image: 'johnsnowlabs/nlp-server:latest'
volumes
:
#
volumes:
-
js-cache:/home/johnsnowlabs/cache_pretrained
#
- js-cache:/home/johnsnowlabs/cache_pretrained
ports
:
#
ports:
-
5000:5000
#
- 5000:5000
volumes
:
volumes
:
#garg-pgdata:
#garg-pgdata:
...
...
gargantext-cors-settings.toml
View file @
0d3eb314
...
@@ -12,6 +12,7 @@ allowed-origins = [
...
@@ -12,6 +12,7 @@ allowed-origins = [
,
"https://msh.sub.gargantext.org"
,
"https://msh.sub.gargantext.org"
,
"https://dev.sub.gargantext.org"
,
"https://dev.sub.gargantext.org"
,
"http://localhost:8008"
,
"http://localhost:8008"
,
"http://localhost:8108"
]
]
use-origins-for-hosts
=
true
use-origins-for-hosts
=
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment