Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-warpzone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Show more breadcrumbs
infrastruktur
ansible-warpzone
Commits
f7a010c6
Commit
f7a010c6
authored
7 years ago
by
void
Browse files
Options
Downloads
Patches
Plain Diff
etherpad auf docker-compose umgeschrieben
parent
01ca2af9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
webserver/docker_etherpad/tasks/main.yml
+9
-24
9 additions, 24 deletions
webserver/docker_etherpad/tasks/main.yml
webserver/docker_etherpad/templates/docker-compose.yml
+34
-0
34 additions, 0 deletions
webserver/docker_etherpad/templates/docker-compose.yml
with
43 additions
and
24 deletions
webserver/docker_etherpad/tasks/main.yml
+
9
−
24
View file @
f7a010c6
...
...
@@ -4,28 +4,13 @@
path
:
"
/srv/etherpad/"
state
:
"
directory"
-
name
:
start mysql docker
docker_container
:
name
:
etherpad-db
image
:
mysql:5.7
hostname
:
etherpad-db
state
:
started
restart_policy
:
always
volumes
:
-
/srv/etherpad/:/var/lib/mysql
env
:
MYSQL_ROOT_PASSWORD
:
warpzone
-
name
:
Konfig-Datei erstellen
template
:
src
:
"
docker-compose.yml"
dest
:
"
/srv/etherpad/docker-compose.yml"
-
name
:
start etherpad docker
docker_container
:
name
:
etherpad-app
image
:
tvelocity/etherpad-lite:latest
state
:
started
restart_policy
:
always
env
:
ETHERPAD_TITLE
:
warpzone Etherpad Lite
ETHERPAD_PORT
:
42003
ports
:
-
127.0.0.1:42003:42003
links
:
-
etherpad-db:mysql
docker_service
:
project_src
:
/srv/etherpad/
state
:
present
This diff is collapsed.
Click to expand it.
webserver/docker_etherpad/templates/docker-compose.yml
0 → 100644
+
34
−
0
View file @
f7a010c6
version
:
"
3"
services
:
db
:
image
:
mysql:5.7
restart
:
always
volumes
:
-
/srv/etherpad/:/var/lib/mysql
environment
:
MYSQL_ROOT_PASSWORD
:
warpzone
app
:
image
:
tvelocity/etherpad-lite:latest
restart
:
always
depends_on
:
-
db
links
:
-
db:mysql
ports
:
-
127.0.0.1:42003:42003
environment
:
ETHERPAD_TITLE
:
warpzone Etherpad Lite
ETHERPAD_PORT
:
42003
ETHERPAD_DB_USER
:
root
ETHERPAD_DB_PASSWORD
:
warpzone
MYSQL_PORT
:
tcp://db:3306
MYSQL_PORT_3306_TCP
:
tcp://db:3306
MYSQL_PORT_3306_TCP_ADDR
:
db
MYSQL_PORT_3306_TCP_PORT
:
3306
MYSQL_PORT_3306_TCP_PORT
:
tcp
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