Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
playbooks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
playbooks
Commits
fdaf5260
Commit
fdaf5260
authored
May 22, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docker server utility
parent
dc55571c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
2 deletions
+27
-2
docker.yml
docker.yml
+21
-0
pter.yml
pter.yml
+6
-2
No files found.
docker.yml
0 → 100644
View file @
fdaf5260
---
-
hosts
:
docker
remote_user
:
root
tasks
:
-
name
:
directory
file
:
path
:
'
{{path}}'
state
:
directory
-
name
:
docker-compose file
template
:
src
:
'
files/docker-compose/{{
project_name
}}/.yml.j2'
dest
:
'
{{path}}/docker-compose.yml'
-
name
:
data
synchronize
:
src
:
'
files/docker-compose/{{
project_name
}}/'
dest
:
'
{{path}}/data'
delete
:
yes
-
name
:
docker-compose up -d
docker_compose
:
project_src
:
'
{{path}}'
remove_orphans
:
true
pter.yml
View file @
fdaf5260
...
...
@@ -7,7 +7,6 @@
-
name
:
nodejs
vars
:
nodejs_version
:
10
-
name
:
docker
tasks
:
-
name
:
apt
apt
:
...
...
@@ -51,7 +50,12 @@
synchronize
:
src
:
'
{{
cert_path
}}/'
dest
:
/srv/certs
delete
:
true
delete
:
yes
copy_links
:
yes
verify_host
:
no
recursive
:
yes
checksum
:
yes
archive
:
no
notify
:
launch
handlers
:
-
name
:
launch
...
...
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