Build for real
This commit is contained in:
parent
0da08aeafd
commit
2da29f94c3
1 changed files with 8 additions and 6 deletions
|
@ -28,9 +28,10 @@
|
||||||
|
|
||||||
- name: Build Mastodon container
|
- name: Build Mastodon container
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose:
|
||||||
project_name: mastodon
|
project_name: mastodon
|
||||||
project_src: "{{ mastodon_composer_folder }}/"
|
project_src: "{{ mastodon_composer_folder }}/"
|
||||||
state: present
|
build: true
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Generate secret key
|
- name: Generate secret key
|
||||||
shell: docker-compose run --rm web bundle exec rake secret
|
shell: docker-compose run --rm web bundle exec rake secret
|
||||||
|
@ -122,9 +123,10 @@
|
||||||
|
|
||||||
- name: Build (again) Mastodon container to include secrets
|
- name: Build (again) Mastodon container to include secrets
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose:
|
||||||
project_name: mastodon
|
project_name: mastodon
|
||||||
project_src: "{{ mastodon_composer_folder }}/"
|
project_src: "{{ mastodon_composer_folder }}/"
|
||||||
state: present
|
state: present
|
||||||
|
build: true
|
||||||
|
|
||||||
- name: Set up database
|
- name: Set up database
|
||||||
shell: docker-compose run --rm web rails db:migrate && echo "Database set up." > /var/lib/mastodon_db_setup
|
shell: docker-compose run --rm web rails db:migrate && echo "Database set up." > /var/lib/mastodon_db_setup
|
||||||
|
|
Loading…
Reference in a new issue