mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 07:18:09 +02:00
Refactored docker logic
This commit is contained in:
@@ -25,14 +25,7 @@
|
||||
dest: "{{ host_msmtp_conf }}"
|
||||
notify: docker compose project build and setup
|
||||
|
||||
- name: "Transfering Dockerfile to {{ docker_compose.directories.instance }}"
|
||||
copy:
|
||||
src: Dockerfile
|
||||
dest: "{{ docker_compose.directories.instance }}Dockerfile"
|
||||
notify: docker compose project build and setup
|
||||
|
||||
- name: "copy docker-compose.yml and env file"
|
||||
include_tasks: copy-docker-compose-and-env.yml
|
||||
- include_tasks: "{{ playbook_dir }}/roles/docker-compose/tasks/create-files.yml"
|
||||
|
||||
- name: "Install wordpress"
|
||||
include_tasks: install.yml
|
||||
|
@@ -1,4 +1,4 @@
|
||||
FROM wordpress
|
||||
FROM wordpress:{{applications[application_id].version}}
|
||||
|
||||
# Install msmtp and update system
|
||||
RUN apt-get update && \
|
Reference in New Issue
Block a user