services: db: container_name: db-recipes restart: always image: postgres:16-alpine volumes: - ./data:/var/lib/postgresql/data env_file: - ./.env app: restart: always image: vabene1111/recipes env_file: - ./.env environment: VIRTUAL_HOST: "recipes.${DOMAIN}" LETSENCRYPT_HOST: "recipes.${DOMAIN}" LETSENCRYPT_EMAIL: ${EMAIL} volumes: - ./config/staticfiles:/opt/recipes/staticfiles # Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts - nginx_config:/opt/recipes/nginx/conf.d - ./config/mediafiles:/opt/recipes/mediafiles ports: - 8075:8080 depends_on: - db networks: default: name: nginx-proxy external: true volumes: nginx_config: