use full name for podman_container

This commit is contained in:
Antonio J. Delgado 2022-11-19 12:31:24 +02:00
parent 60e47b22c6
commit f9ab303b8e

View file

@ -1,10 +1,10 @@
--- ---
- podman_container: - containers.podman.podman_container:
name: redis_mastodon name: redis_mastodon
image: redis:4.0-alpine image: redis:4.0-alpine
restart_policy: on-failure restart_policy: on-failure
- podman_container: - containers.podman.podman_container:
name: db_mastodon name: db_mastodon
image: postgresql:15 image: postgresql:15
restart_policy: on-failure restart_policy: on-failure
@ -14,21 +14,21 @@
- POSTGRES_PASSWORD: "{{ db_password }}" - POSTGRES_PASSWORD: "{{ db_password }}"
- POSTGRES_DB: "{{ db_name }}" - POSTGRES_DB: "{{ db_name }}"
- podman_container: - containers.podman.podman_container:
name: app_mastodon name: app_mastodon
image: "gargron/mastodon:v{{ mastodon_release }}" image: "gargron/mastodon:v{{ mastodon_release }}"
command: bundle exec rails s -p 3000 -b '0.0.0.0' command: bundle exec rails s -p 3000 -b '0.0.0.0'
restart_policy: on-failure restart_policy: on-failure
env_file: /mastodon/.env env_file: /mastodon/.env
- podman_container: - containers.podman.podman_container:
name: sidekiq_mastodon name: sidekiq_mastodon
image: "moritzheiber/mastodon-docker" image: "moritzheiber/mastodon-docker"
command: bundle exec sidekiq -q default -q mailers -q pull -q push command: bundle exec sidekiq -q default -q mailers -q pull -q push
restart_policy: on-failure restart_policy: on-failure
env_file: /mastodon/.env env_file: /mastodon/.env
- podman_container: - containers.podman.podman_container:
project_name: streaming_mastodon project_name: streaming_mastodon
image: "moritzheiber/mastodon-docker" image: "moritzheiber/mastodon-docker"
command: npm run start command: npm run start