--- version: '3' services: decidim: build: decidim image: decidim:0.26.2-220910 restart: unless-stopped depends_on: - decidim-postgres env_file: - .env expose: - 8080 ports: - 8080:8080 volumes: - decidim_migrate:/srv/decidim-app/db/migrate - decidim_storage:/srv/decidim-app/storage - decidim_uploads:/srv/decidim-app/public/uploads decidim-postgres: image: postgres:14-alpine restart: unless-stopped environment: - POSTGRES_USER - POSTGRES_PASSWORD - POSTGRES_DB volumes: - postgres_data:/var/lib/postgresql/data volumes: decidim_migrate: decidim_storage: decidim_uploads: postgres_data: