Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker_server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Le Filament
Ansible Roles
docker_server
Commits
d6976fca
Commit
d6976fca
authored
8 months ago
by
Théo - Le Filament
Browse files
Options
Downloads
Patches
Plain Diff
feat: switch to docker compose v2
parent
37305f88
Branches
12-RV-Orthographe
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
handlers/main.yml
+20
-8
20 additions, 8 deletions
handlers/main.yml
tasks/main.yml
+2
-2
2 additions, 2 deletions
tasks/main.yml
vars/Debian.yml
+1
-1
1 addition, 1 deletion
vars/Debian.yml
with
23 additions
and
11 deletions
handlers/main.yml
+
20
−
8
View file @
d6976fca
...
...
@@ -5,12 +5,24 @@
state
:
restarted
name
:
docker
-
name
:
Start inverseproxy docker
community.docker.docker_compose
:
project_src
:
/home/docker/inverseproxy
recreate
:
always
restarted
:
true
remove_orphans
:
true
async
:
120
poll
:
10
-
name
:
Restart inverseproxy container
block
:
-
name
:
Remove container
community.docker.docker_compose_v2
:
project_src
:
/home/docker/inverseproxy
remove_orphans
:
true
state
:
absent
async
:
120
poll
:
10
listen
:
"
restart
inverseproxy
container"
-
name
:
Start container
community.docker.docker_compose_v2
:
project_src
:
/home/docker/inverseproxy
recreate
:
always
remove_orphans
:
true
state
:
present
async
:
120
poll
:
10
listen
:
"
restart
inverseproxy
container"
when
:
not ansible_check_mode
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
2
−
2
View file @
d6976fca
...
...
@@ -92,7 +92,7 @@
-
"
docker_proxy"
-
"
metabase"
notify
:
-
S
tart inverseproxy
dock
er
-
res
tart inverseproxy
contain
er
-
name
:
Copy Traefik configuration file
ansible.builtin.template
:
...
...
@@ -105,7 +105,7 @@
-
"
docker_proxy"
-
"
metabase"
notify
:
-
S
tart inverseproxy
dock
er
-
res
tart inverseproxy
contain
er
-
name
:
Copy Docker Facts Collection script on server
ansible.builtin.template
:
...
...
This diff is collapsed.
Click to expand it.
vars/Debian.yml
+
1
−
1
View file @
d6976fca
...
...
@@ -4,7 +4,7 @@ packages_to_install:
-
ca-certificates
-
curl
-
docker.io
-
docker-compose
-
docker-compose
-v2
-
git
-
python3-dev
-
python3-docker
...
...
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