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
150
Issues
150
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
gargantext
haskell-gargantext
Commits
0d3eb314
Verified
Commit
0d3eb314
authored
Jun 17, 2024
by
Przemyslaw Kaminski
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[docker-compose] add caddy as a frontend
parent
01f44faa
Pipeline
#6224
canceled with stages
Changes
2
Pipelines
1
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'
services
:
caddy
:
image
:
caddy:alpine
network
:
host
ports
:
-
8108:8108
volumes
:
-
./Caddyfile:/etc/caddy/Caddyfile:ro
-
../../purescript-gargantext:/srv/purescript-gargantext:ro
#postgres11:
# #image: 'postgres:latest'
# image: 'postgres:11'
...
...
@@ -36,33 +45,35 @@ services:
-
../dbs:/dbs
-
../postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql:ro
pgadmin
:
image
:
'
dpage/pgadmin4'
ports
:
-
8081:80
environment
:
PGADMIN_DEFAULT_EMAIL
:
admin@localhost.lan
PGADMIN_DEFAULT_PASSWORD
:
admin
# NOTE: Use dbeaver instead, it's nicer and remembers passwords
# (unlike pgadmin when you remove the docker volume)
# pgadmin:
# image: 'dpage/pgadmin4'
# ports:
# - 8081:80
# environment:
# PGADMIN_DEFAULT_EMAIL: admin@localhost.lan
# PGADMIN_DEFAULT_PASSWORD: admin
depends_on
:
-
postgres
links
:
-
postgres
volumes
:
-
pgadmin:/var/lib/pgadmin
#
depends_on:
#
- postgres
#
links:
#
- postgres
#
volumes:
#
- pgadmin:/var/lib/pgadmin
corenlp
:
#image: 'cgenie/corenlp-garg:latest'
image
:
'
cgenie/corenlp-garg:4.5.4'
ports
:
-
9000:9000
#
corenlp:
#
#image: 'cgenie/corenlp-garg:latest'
#
image: 'cgenie/corenlp-garg:4.5.4'
#
ports:
#
- 9000:9000
johnsnownlp
:
image
:
'
johnsnowlabs/nlp-server:latest'
volumes
:
-
js-cache:/home/johnsnowlabs/cache_pretrained
ports
:
-
5000:5000
#
johnsnownlp:
#
image: 'johnsnowlabs/nlp-server:latest'
#
volumes:
#
- js-cache:/home/johnsnowlabs/cache_pretrained
#
ports:
#
- 5000:5000
volumes
:
#garg-pgdata:
...
...
gargantext-cors-settings.toml
View file @
0d3eb314
...
...
@@ -12,6 +12,7 @@ allowed-origins = [
,
"https://msh.sub.gargantext.org"
,
"https://dev.sub.gargantext.org"
,
"http://localhost:8008"
,
"http://localhost:8108"
]
use-origins-for-hosts
=
true
Przemyslaw Kaminski
@cgenie
mentioned in commit
5660aec0
·
Oct 08, 2024
mentioned in commit
5660aec0
mentioned in commit 5660aec07ec5a0a0a5468f440092c1a8f57a864e
Toggle commit list
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