Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
4704ab96
Unverified
Commit
4704ab96
authored
4 years ago
by
Quentin Duchemin
Browse files
Options
Downloads
Patches
Plain Diff
[Etherpad] Whoops, switched Compose files
parent
24368f56
No related branches found
No related tags found
1 merge request
!57
Delete pad after delay
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pica-etherpad/standard/docker-compose.yml
+15
-15
15 additions, 15 deletions
pica-etherpad/standard/docker-compose.yml
pica-etherpad/week/docker-compose.yml
+16
-15
16 additions, 15 deletions
pica-etherpad/week/docker-compose.yml
with
31 additions
and
30 deletions
pica-etherpad/standard/docker-compose.yml
+
15
−
15
View file @
4704ab96
...
...
@@ -2,27 +2,27 @@ version : "3.7"
volumes
:
db
:
name
:
week
pad-db
name
:
ether
pad-db
-pg
deleted-pads
:
name
:
deleted-pads-
week
name
:
deleted-pads-
standard
api-key
:
name
:
etherpad-api-
week-
key
name
:
etherpad-api-key
networks
:
app-db
:
name
:
etherpad
_week
-queries-database
name
:
etherpad-queries-database
dpad-app
:
name
:
etherpad
_week
-dpad-queries-app
name
:
etherpad-dpad-queries-app
proxy
:
external
:
true
services
:
db
:
image
:
postgres:12
container_name
:
etherpad_
week_
db
container_name
:
etherpad_db
volumes
:
-
db:/var/lib/postgresql/data
env_file
:
./secrets/etherpad-
week-
db.secrets
env_file
:
./secrets/etherpad-db.secrets
networks
:
-
app-db
restart
:
unless-stopped
...
...
@@ -30,24 +30,24 @@ services:
app
:
image
:
registry.picasoft.net/pica-etherpad:1.8.6
build
:
..
container_name
:
etherpad_
week_
app
env_file
:
./secrets/etherpad-
week-
app.secrets
container_name
:
etherpad_app
env_file
:
./secrets/etherpad-app.secrets
volumes
:
-
./settings.json:/opt/etherpad-lite/settings.json:ro
-
api-key:/mountedAPIkey
command
:
[
"
--apikey"
,
"
/mountedAPIkey/APIKEY.txt"
]
labels
:
traefik.http.routers.etherpad-app.entrypoints
:
websecure
traefik.http.routers.etherpad-app.rule
:
Host(`
week.
pad.picasoft.net`)
traefik.http.routers.etherpad-app.rule
:
Host(`pad.picasoft.net`)
traefik.http.services.etherpad-app.loadbalancer.server.port
:
8080
traefik.enable
:
true
environment
:
DB_HOST
:
"
etherpad_
week_
db"
DB_HOST
:
"
etherpad_db"
LOGLEVEL
:
"
INFO"
MINIFY
:
"
true"
PORT
:
8080
THEME
:
"
colibris"
TITLE
:
"
Picapad
Hebdo
"
TITLE
:
"
Picapad"
TRUST_PROXY
:
"
true"
networks
:
-
proxy
...
...
@@ -69,9 +69,9 @@ services:
-
dpad-app
environment
:
# Must match app container name and port
URL
:
"
http://etherpad_
week_
app:8080"
# In seconds (
14 day
s). MUST be COHERENT with settings.json
DEL
:
120
96
00
URL
:
"
http://etherpad_app:8080"
# In seconds (
2 year
s). MUST be COHERENT with settings.json
DEL
:
717
12000
# Same mount point than deleted-pads
DIR
:
"
/opt/etherpad-lite/deleted_pads"
# Same mount point than api-key + APIKEY.txt
...
...
This diff is collapsed.
Click to expand it.
pica-etherpad/week/docker-compose.yml
+
16
−
15
View file @
4704ab96
version
:
"
3.7"
volumes
:
db
:
name
:
ether
pad-db
-pg
name
:
week
pad-db
deleted-pads
:
name
:
deleted-pads-
standard
name
:
deleted-pads-
week
api-key
:
name
:
etherpad-api-key
name
:
etherpad-api-
week-
key
networks
:
app-db
:
name
:
etherpad-queries-database
name
:
etherpad
_week
-queries-database
dpad-app
:
name
:
etherpad-dpad-queries-app
name
:
etherpad
_week
-dpad-queries-app
proxy
:
external
:
true
services
:
db
:
image
:
postgres:12
container_name
:
etherpad_db
container_name
:
etherpad_
week_
db
volumes
:
-
db:/var/lib/postgresql/data
env_file
:
./secrets/etherpad-db.secrets
env_file
:
./secrets/etherpad-
week-
db.secrets
networks
:
-
app-db
restart
:
unless-stopped
...
...
@@ -30,24 +31,24 @@ services:
app
:
image
:
registry.picasoft.net/pica-etherpad:1.8.6
build
:
..
container_name
:
etherpad_app
env_file
:
./secrets/etherpad-app.secrets
container_name
:
etherpad_
week_
app
env_file
:
./secrets/etherpad-
week-
app.secrets
volumes
:
-
./settings.json:/opt/etherpad-lite/settings.json:ro
-
api-key:/mountedAPIkey
command
:
[
"
--apikey"
,
"
/mountedAPIkey/APIKEY.txt"
]
labels
:
traefik.http.routers.etherpad-app.entrypoints
:
websecure
traefik.http.routers.etherpad-app.rule
:
Host(`pad.picasoft.net`)
traefik.http.routers.etherpad-app.rule
:
Host(`
week.
pad.picasoft.net`)
traefik.http.services.etherpad-app.loadbalancer.server.port
:
8080
traefik.enable
:
true
environment
:
DB_HOST
:
"
etherpad_db"
DB_HOST
:
"
etherpad_
week_
db"
LOGLEVEL
:
"
INFO"
MINIFY
:
"
true"
PORT
:
8080
THEME
:
"
colibris"
TITLE
:
"
Picapad"
TITLE
:
"
Picapad
Hebdo
"
TRUST_PROXY
:
"
true"
networks
:
-
proxy
...
...
@@ -69,9 +70,9 @@ services:
-
dpad-app
environment
:
# Must match app container name and port
URL
:
"
http://etherpad_app:8080"
# In seconds (
2 year
s). MUST be COHERENT with settings.json
DEL
:
717
12000
URL
:
"
http://etherpad_
week_
app:8080"
# In seconds (
14 day
s). MUST be COHERENT with settings.json
DEL
:
120
96
00
# Same mount point than deleted-pads
DIR
:
"
/opt/etherpad-lite/deleted_pads"
# Same mount point than api-key + APIKEY.txt
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment