Skip to content

Commit 55570a4

Browse files
committed
removed .env from check-in
1 parent 11ad8e4 commit 55570a4

8 files changed

Lines changed: 22 additions & 741 deletions

File tree

.env

Lines changed: 0 additions & 5 deletions
This file was deleted.

.gitignore

Lines changed: 5 additions & 301 deletions
Original file line numberDiff line numberDiff line change
@@ -1,302 +1,6 @@
1-
# Custom #
2-
##########
3-
4-
*.cache
5-
6-
scripts/benchmarking/*
7-
!scripts/benchmarking/run-benchmarks.sh
8-
!scripts/benchmarking/1doc_100char
9-
!scripts/benchmarking/1doc_10kchar
10-
11-
server/benchmarks.yml
12-
server/data/corpora/
13-
14-
.scannerwork/
15-
**/target
16-
**/build
17-
*.iml
18-
19-
.gradle
20-
/build/
21-
22-
# Ignore Gradle GUI config
23-
gradle-app.setting
24-
25-
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
26-
!gradle-wrapper.jar
27-
28-
# Cache of project
29-
.gradletasknamecache
30-
31-
# From DSDD #
32-
#############
33-
34-
# local env files
35-
.env.local
36-
.env.*.local
37-
38-
# Log files
39-
npm-debug.log*
40-
yarn-debug.log*
41-
yarn-error.log*
42-
43-
# Editor directories and files
44-
.idea
45-
.vscode
46-
*.suo
47-
*.ntvs*
48-
*.njsproj
49-
*.sln
50-
*.sw*
51-
52-
53-
# Compiled source #
54-
###################
55-
*.com
56-
*.class
57-
*.dll
58-
*.exe
59-
*.o
60-
*.so
61-
62-
# Packages #
63-
############
64-
# it's better to unpack these files and commit the raw source
65-
# git has its own built in compression methods
66-
*.7z
67-
*.dmg
68-
*.gz
69-
*.iso
70-
*.jar
71-
*.rar
72-
# *.tar # as the models are tar files we will keep them
73-
*.zip
74-
75-
# Logs and databases #
76-
######################
77-
*.log
78-
*.sql
79-
*.sqlite
80-
81-
# OS generated files #
82-
######################
83-
.DS_Store
84-
.DS_Store?
85-
._*
86-
.Spotlight-V100
87-
.Trashes
88-
ehthumbs.db
89-
Thumbs.db
90-
91-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
92-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
93-
94-
# User-specific stuff
95-
.idea/**/workspace.xml
96-
.idea/**/tasks.xml
97-
.idea/**/usage.statistics.xml
98-
.idea/**/dictionaries
99-
.idea/**/shelf
100-
101-
# Generated files
102-
.idea/**/contentModel.xml
103-
104-
# Sensitive or high-churn files
105-
.idea/**/dataSources/
106-
.idea/**/dataSources.ids
107-
.idea/**/dataSources.local.xml
108-
.idea/**/sqlDataSources.xml
109-
.idea/**/dynamic.xml
110-
.idea/**/uiDesigner.xml
111-
.idea/**/dbnavigator.xml
112-
113-
# Gradle
114-
.idea/**/gradle.xml
115-
.idea/**/libraries
116-
117-
# Gradle and Maven with auto-import
118-
# When using Gradle or Maven with auto-import, you should exclude module files,
119-
# since they will be recreated, and may cause churn. Uncomment if using
120-
# auto-import.
121-
# .idea/artifacts
122-
# .idea/compiler.xml
123-
# .idea/jarRepositories.xml
124-
# .idea/modules.xml
125-
# .idea/*.iml
126-
# .idea/modules
127-
# *.iml
128-
# *.ipr
129-
130-
# CMake
131-
cmake-build-*/
132-
133-
# Mongo Explorer plugin
134-
.idea/**/mongoSettings.xml
135-
136-
# File-based project format
137-
*.iws
138-
139-
# IntelliJ
140-
out/
141-
142-
# mpeltonen/sbt-idea plugin
143-
.idea_modules/
144-
145-
# JIRA plugin
146-
atlassian-ide-plugin.xml
147-
148-
# Cursive Clojure plugin
149-
.idea/replstate.xml
150-
151-
# Crashlytics plugin (for Android Studio and IntelliJ)
152-
com_crashlytics_export_strings.xml
153-
crashlytics.properties
154-
crashlytics-build.properties
155-
fabric.properties
156-
157-
# Editor-based Rest Client
158-
.idea/httpRequests
159-
160-
# Android studio 3.1+ serialized cache file
161-
.idea/caches/build_file_checksums.ser
162-
163-
### Python stuff
164-
# Byte-compiled / optimized / DLL files
165-
__pycache__/
166-
*.py[cod]
167-
*$py.class
168-
169-
# C extensions
170-
*.so
171-
172-
# Distribution / packaging
173-
.Python
1+
.gradle/
2+
.kotlin/
3+
.idea/
1744
build/
175-
develop-eggs/
176-
dist/
177-
downloads/
178-
eggs/
179-
.eggs/
180-
lib/
181-
lib64/
182-
parts/
183-
sdist/
184-
var/
185-
wheels/
186-
share/python-wheels/
187-
*.egg-info/
188-
.installed.cfg
189-
*.egg
190-
MANIFEST
191-
192-
# PyInstaller
193-
# Usually these files are written by a python script from a template
194-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
195-
*.manifest
196-
*.spec
197-
198-
# Installer logs
199-
pip-log.txt
200-
pip-delete-this-directory.txt
201-
202-
# Unit test / coverage reports
203-
htmlcov/
204-
.tox/
205-
.nox/
206-
.coverage
207-
.coverage.*
208-
.cache
209-
nosetests.xml
210-
coverage.xml
211-
*.cover
212-
*.py,cover
213-
.hypothesis/
214-
.pytest_cache/
215-
cover/
216-
217-
# Translations
218-
*.mo
219-
*.pot
220-
221-
# Django stuff:
222-
*.log
223-
local_settings.py
224-
db.sqlite3
225-
db.sqlite3-journal
226-
227-
# Flask stuff:
228-
instance/
229-
.webassets-cache
230-
231-
# Scrapy stuff:
232-
.scrapy
233-
234-
# Sphinx documentation
235-
docs/_build/
236-
237-
# PyBuilder
238-
.pybuilder/
239-
target/
240-
241-
# Jupyter Notebook
242-
.ipynb_checkpoints
243-
244-
# IPython
245-
profile_default/
246-
ipython_config.py
247-
248-
# pyenv
249-
# For a library or package, you might want to ignore these files since the code is
250-
# intended to run in multiple environments; otherwise, check them in:
251-
# .python-version
252-
253-
# pipenv
254-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
255-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
256-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
257-
# install all needed dependencies.
258-
#Pipfile.lock
259-
260-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
261-
__pypackages__/
262-
263-
# Celery stuff
264-
celerybeat-schedule
265-
celerybeat.pid
266-
267-
# SageMath parsed files
268-
*.sage.py
269-
270-
# Environments
271-
# .env <-- we use this for docker-compose, so skip it I guess
272-
.venv
273-
env/
274-
venv/
275-
ENV/
276-
env.bak/
277-
venv.bak/
278-
279-
# Spyder project settings
280-
.spyderproject
281-
.spyproject
282-
283-
# Rope project settings
284-
.ropeproject
285-
286-
# mkdocs documentation
287-
/site
288-
289-
# mypy
290-
.mypy_cache/
291-
.dmypy.json
292-
dmypy.json
293-
294-
# Pyre type checker
295-
.pyre/
296-
297-
# pytype static type analyzer
298-
.pytype/
299-
300-
# Cython debug symbols
301-
cython_debug/
302-
scripts/tag-matching/*/*
5+
server/data/corpora/
6+
.env

docker-compose.yml

Lines changed: 11 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,23 @@
1-
# Docker compose file for galahad client, server and proxy
1+
name: galahad
2+
23
services:
4+
35
client:
4-
image: instituutnederlandsetaal/galahad-client:${APP_VERSION}
6+
image: instituutnederlandsetaal/galahad-client:$VERSION
57
build:
68
context: client
79
restart: unless-stopped
8-
networks:
9-
- proxy_network
10-
deploy:
11-
resources:
12-
limits:
13-
cpus: '0.50'
14-
memory: 512M
15-
reservations:
16-
cpus: '0.25'
17-
memory: 128M
10+
1811
server:
19-
image: instituutnederlandsetaal/galahad-server:${APP_VERSION}
12+
image: instituutnederlandsetaal/galahad-server:$VERSION
2013
build:
2114
context: server
2215
restart: unless-stopped
2316
volumes:
2417
- user-corpora-volume:/data/corpora/custom
2518
- preset-corpora-volume:/data/corpora/presets
26-
- admins-volume:/data/admins
19+
- ./server/data/admins:/data/admins
2720
networks:
28-
- proxy_network
2921
- taggers
3022
deploy:
3123
resources:
@@ -37,6 +29,7 @@ services:
3729
memory: 2G
3830
environment: # Otherwise container doesn't restart on OutOfMemory
3931
- "JAVA_OPTS=-XX:+ExitOnOutOfMemoryError"
32+
4033
proxy:
4134
image: nginx:1.27.3-alpine3.20
4235
volumes:
@@ -45,24 +38,15 @@ services:
4538
- client
4639
- server
4740
ports:
48-
- "80:80"
41+
- "$PORT:80"
4942
restart: unless-stopped
50-
networks:
51-
- proxy_network
5243

5344

5445
networks:
55-
front:
56-
driver: bridge
57-
proxy_network:
58-
driver: bridge
5946
taggers:
6047
external: true
61-
name: $taggers_network
48+
name: $TAGGERS_NETWORK
49+
6250
volumes:
6351
user-corpora-volume:
6452
preset-corpora-volume:
65-
formats-volume:
66-
taggers-volume:
67-
tagsets-volume:
68-
admins-volume:

0 commit comments

Comments
 (0)