diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..d6e1d36 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,48 @@ +services: + mealie: + image: ghcr.io/mealie-recipes/mealie:v2.8.0 + container_name: mealie + restart: always +# ports: +# - 9925:9000 + deploy: + resources: + limits: + memory: 1000M # + volumes: + - /home/shrek/docker/stack/mealie/mealie-data:/app/data/ + environment: + ALLOW_SIGNUP: "false" + TZ: Europe/Berlin + DB_ENGINE: postgres + POSTGRES_USER: mealie + POSTGRES_PASSWORD: mealie + POSTGRES_SERVER: postgres + POSTGRES_PORT: 5432 + POSTGRES_DB: mealie + depends_on: + postgres: + condition: service_healthy + postgres: + container_name: postgres + image: postgres:15 + restart: always + volumes: + - /home/shrek/docker/stack/mealie/mealie-pgdata:/var/lib/postgresql/data + environment: + POSTGRES_PASSWORD: mealie + POSTGRES_USER: mealie + PGUSER: mealie + healthcheck: + test: + - CMD + - pg_isready + interval: 30s + timeout: 20s + retries: 3 +volumes: + mealie-data: null + mealie-pgdata: null +networks: + bragi-local: + external: true \ No newline at end of file